Button
Creates an easy to use button component.
Once imported it can be modified the way you want.
Prefixes
Props
Button takes the following props:
- type?: &qout;submit&qout; | &qout;reset&qout; | &qout;button&qout;
- onClick?: React.MouseEventHandler
- disabled?: boolean
- children: ReactNode
Example: An example of the usage is provided in the snippet.
Preview