aboutsummaryrefslogblamecommitdiffstats
path: root/packages/website/ts/@next/components/icon.tsx
blob: 112d4ed68575d2ba899f6b9e8f2ae98033a2367d (plain) (tree)
1
2
3
4
5
6
7
8




                                       
                  

 








                                                                            



                                       

                             

      
import * as React from 'react';
import styled from 'styled-components';

interface Props {
    icon: any;
    size?: string;
}

export const IconClass: React.FunctionComponent<Props> = (props: Props) => {
    const { icon, size } = props;

    return (
        <div />
    );
};

export const Icon = styled(IconClass)`
    margin: auto;
    flex-shrink: 0;

    ${(props: Props) => props.size && `
        width: ${props.size};
        height: auto;
    `}
`;