Skip to content

Commit

Permalink
Remove unused btn attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusps committed Jun 17, 2019
1 parent 39e557a commit 04516ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
1 change: 0 additions & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const Button: FC<ButtonType> = ({ size, children, loading, ...props }) => {

Button.defaultProps = {
size: 'md',
kind: 'default',
loading: false,
}

Expand Down
36 changes: 0 additions & 36 deletions src/docs/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,39 +110,3 @@ import { Button, Icon, IconButton } from '../index'
XLarge
</Button>
</Playground>

## Kinds

### Default

<Playground>
<Button kind="default" goal="create">
Create
</Button>
<Button kind="default" goal="destroy">
Destroy
</Button>
<Button kind="default" goal="info">
Info
</Button>
<Button kind="default" goal="warn">
Warn
</Button>
</Playground>

### Ghost

<Playground>
<Button kind="ghost" goal="create">
Create
</Button>
<Button kind="ghost" goal="destroy">
Destroy
</Button>
<Button kind="ghost" goal="info">
Info
</Button>
<Button kind="ghost" goal="warn">
Warn
</Button>
</Playground>
1 change: 0 additions & 1 deletion src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,4 @@ type IconType = {
interface ButtonType extends ClickableType {
size?: Measure
loading?: boolean
kind?: 'link' | 'ghost' | 'default'
}

0 comments on commit 04516ca

Please sign in to comment.