import { Meta, Story, Props, Preview } from '@storybook/addon-docs/blocks';
import { TertiaryButton } from './tertiary-button.component';
import { FlowPropsTable, ExternalReferenceLink } from '../../../utils';

<Meta title="Buttons/Tertiary" component={TertiaryButton} />

# Tertiary Button

The TertiaryButton component renders a button that looks like a hollow pill (no background).

## As Button

<Preview withToolbar>
  <Story id="buttons-tertiary--default" />
</Preview>

## As Link

<Preview withToolbar>
  <Story id="buttons-tertiary--as-link" />
</Preview>

## Disabled

<Preview withToolbar>
  <Story id="buttons-tertiary--disabled" />
</Preview>

## Props

<FlowPropsTable ofComponent={TertiaryButton} />

## 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/tertiary-button"
  type="github"
/>
