import * as React from 'react'; import styled from 'styled-components'; import { Icon } from '../lib/components'; import { colors } from '../lib/foundations'; interface IProps extends React.HTMLAttributes { up: boolean; } const Button = styled.button({ border: 'none', background: 'none', }); const StyledIcon = styled(Icon)({ flex: 0, alignSelf: 'stretch', justifyContent: 'center', '&&:hover': { backgroundColor: colors.white, }, }); export default function ChevronButton(props: IProps) { const { up, ...otherProps } = props; return ( ); }