import * as React from 'react';
import styled from '../../styled-components';
export const AnimatedChevronButton = ({ open }: { open: boolean }) => {
const iconOffset = open ? 8 : -4;
return (
);
};
// adapted from reactjs.org
const ChevronSvg = ({ size = 10, className = '', style }) => (
);
const ChevronContainer = styled.div`
user-select: none;
width: 20px;
height: 20px;
align-self: center;
display: flex;
flex-direction: column;
color: ${props => props.theme.colors.primary.main};
`;