Renders a basic button component.
The button component can have different styles by using the styleType
property.
import { Button } from 'components';
const MyButton = () => <Button />;
The Button
component accepts the following props:
The href attribute. If provided the button will be an element.
Type: String
Required: No
The type of the button
Type: primary|secondary
Required: No
An optional class name for the button
Type: String
Required: No