Expected behavior:
We need to create a simple Button component based on this design and that will be easy to reuse
It should work something like this:
<Button type="primary" onClick={someFunction}>Submit</Button>type : primary|secondary
Note: Make sure that the onClick handler is a prop and do think of other cases in case I've missed any.
I'm submitting a ...
Current behavior: There is no common button
Expected behavior: We need to create a simple Button component based on this design and that will be easy to reuse It should work something like this:
<Button type="primary" onClick={someFunction}>Submit</Button>
type
: primary|secondaryNote: Make sure that the onClick handler is a prop and do think of other cases in case I've missed any.