Files
protocol/packages/website/ts/@next/components/icon.tsx
2018-12-04 14:58:37 +01:00

24 lines
425 B
TypeScript

import * as React from 'react';
import styled from 'styled-components';
interface Props {
icon: any;
size?: string;
}
export const IconClass: React.FunctionComponent<Props> = (props: Props) => {
return (
<div />
);
};
export const Icon = styled(IconClass)`
margin: auto;
flex-shrink: 0;
${(props: Props) => props.size && `
width: ${props.size};
height: auto;
`}
`;