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
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
The Button component will be used like this:
import{Button}from'@platzily-ui/components';// import Button from '@platzily-ui/components/Button'; Can by called like this either.exportdefaultfunctionMyButton(){consthandleClick=()=>{// My function}return(<ButtononClick={handleClick}>
MyButtonName
</Button>)}
Requirements 🌈
The Button component will be used by the user to trigger a fuction in the UI.
The user will import the Button component and it will have to receive all available props for an button HTML element.
As the user could need to give the button a ref, it must be done using React.forwardRef API.
The Button should have this states:
Disabled
Focus
Active
Hover
Motivation 🔦
An button is a basic component in any UI, so it make sense for Platzily-UI to have its own implementation of an Input element.
The text was updated successfully, but these errors were encountered:
Checklist ✅
Summary 💡
The Button component will be used like this:
Requirements 🌈
The Button component will be used by the user to trigger a fuction in the UI.
The user will import the Button component and it will have to receive all available props for an button HTML element.
As the user could need to give the button a ref, it must be done using React.forwardRef API.
The Button should have this states:
Motivation 🔦
An button is a basic component in any UI, so it make sense for Platzily-UI to have its own implementation of an Input element.
The text was updated successfully, but these errors were encountered: