Skip to content

Commit

Permalink
docs: add ghost stories
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Oct 31, 2023
1 parent cd534a2 commit 9cb8ea8
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,23 @@ For Shadow Parts, please inspect the element's #shadow.
<scale-button variant="secondary-white">Label</scale-button>
```

## Ghost Standard

<Canvas withSource="none">
<Story
name="Ghost Standard"
args={{
variant: 'ghost',
}}
>
{Template.bind({})}
</Story>
</Canvas>

```html
<scale-button variant="secondary-white">Label</scale-button>
```

## Disabled

<Canvas withSource="none">
Expand Down Expand Up @@ -256,6 +273,25 @@ For Shadow Parts, please inspect the element's #shadow.
<scale-button variant="secondary" disabled>Label</scale-button>
```

## Ghost Disabled

<Canvas withSource="none">
<Story
name="Ghost Disabled"
args={{
variant: 'ghost',
disabled: true,
}}
>
{Template.bind({})}
</Story>
</Canvas>

```html
<scale-button variant="secondary" disabled>Label</scale-button>
```


## With Icon Before

<Canvas withSource="none">
Expand Down

0 comments on commit 9cb8ea8

Please sign in to comment.