You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Button component will be the base of all of our buttons.
<Button >
<Button
className="" // may or may not be passed. Should be applied to the outer most tag, after local classNames
style={} // may or may not be passed, Should be applied to the outer most tag
onDone=()=>{} // a function that is called when the button is clicked. - if it exists
title="" // text to display on hover
disabled=false
disableOnClick=false // if true, the button gets disabled after click and stays disabled - prevents resubmission
>
text or <span></span>
</Button>
className may have 'hover' in it. This will occur when the user is hovering over the parent component, and the parent component wants the button to go into the hover state as well. In the styles definition, .hover (the class name) should do the same thing as :hover (the pseudo class).
The width of the button shall be determined by the name passed, but can be over ridden by the style or class.
This Button component will be the base of all of our buttons.
<Button >
The width of the button shall be determined by the name passed, but can be over ridden by the style or class.

figma
The base shall have the shape and border as shown in figma - based on the Secondary button.
Then create additional components using
<Button>
, but passing classNames with styles to match the figma<ModifierButton />
<SecondaryButtom />
<PrimaryButton />
<TextButton />
see figmaStretch goal:
The text was updated successfully, but these errors were encountered: