Preview:
import {SubmitButton} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";

<Meta title="Components/Inputs/SubmitButton/old" component={SubmitButton}/>

export const Template = (args) => <SubmitButton {...args} />;

# SubmitButton

This component renders a Submit Button for a form.

## Props

<ArgsTable story="Default"/>

## Examples

<Story
    name="Default"
    args={{
        text: "example",
        icon: "home",
        iconRight: false,
        colour: "Primary",
        disabled: false,
    }}
>
    {Template.bind({})}
</Story>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter