import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks';
import { NextButton } from './next-button.component';
import { FlowPropsTable, ExternalReferenceLink } from '../../../utils';

<Meta title="Wizard Buttons/Next Button" component={NextButton} />

# Next Button

Next button for wizards.

## Default

<Canvas withToolbar>
  <Story id="wizard-buttons-next-button--default" />
</Canvas>

## Disabled

<Canvas withToolbar>
  <Story id="wizard-buttons-next-button--disabled" />
</Canvas>

## Supported Layout Props:

Margin-only spacing:

<Canvas>
  <Story id="wizard-buttons-next-button--mixins-margin-only-spacing" />
</Canvas>

## Props

<FlowPropsTable ofComponent={NextButton} />

## External Reference

<ExternalReferenceLink
  src="https://www.figma.com/file/r5zKXblbSt0b869OEcOWXu/Patchwork-Web?node-id=637%3A9"
  type="figma"
/>
<ExternalReferenceLink
  src="https://github.com/wealthsimple/patchwork/tree/master/src/core/actions/next-button"
  type="github"
/>
