diff options
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx index df784b8ef..050d87bb0 100644 --- a/packages/website/ts/@next/components/button.tsx +++ b/packages/website/ts/@next/components/button.tsx @@ -3,7 +3,7 @@ import styled from 'styled-components'; import { colors } from 'ts/style/colors'; -export interface Props extends ButtonInterface { +export interface Props { text: string; transparent?: boolean; inline?: boolean; @@ -43,11 +43,12 @@ export const Button: React.StatelessComponent<Props> = ({ ...props }) => ( ); export const ButtonTransparent: React.StatelessComponent<Props> = ({ ...props }) => ( - <StyledButton transparent={true} {...props}> + <Button transparent={true} {...props}> <Text>{props.text}</Text> - </StyledButton> + </Button> ); Button.defaultProps = { transparent: false, + inline: false, }; |