diff options
Diffstat (limited to 'packages/website/ts/components/image.tsx')
-rw-r--r-- | packages/website/ts/components/image.tsx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/website/ts/components/image.tsx b/packages/website/ts/components/image.tsx deleted file mode 100644 index 0137cfc97..000000000 --- a/packages/website/ts/components/image.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import * as React from 'react'; -import styled from 'styled-components'; - -interface Props { - alt?: string; - src?: any; - srcset?: any; - isCentered?: boolean; -} - -const ImageClass: React.FunctionComponent<Props> = (props: Props) => { - return <img {...props} />; -}; - -export const Image = styled(ImageClass)<Props>` - margin: ${props => props.isCentered && `0 auto`}; -`; |