score:0

interface IHeaderProps {
    current: number;
    total: number;
 }

const Header:React.StatelessComponent<IHeaderProps> =  (props) => {
  return (
    ...
  )
}

score:5

function StepBar(props: {current: number, total: number}) { ... }

Related Query

More Query from same tag