import React from "react"; import { ChevronDownIcon, ChevronUpIcon } from "../Svg"; import Button from "./Button"; import IconButton from "./IconButton"; interface Props { onClick?: () => void; expanded?: boolean; } export const ExpandableButton: React.FC = ({ onClick, expanded, children }) => { return ( {children} {expanded ? : } ); }; ExpandableButton.defaultProps = { expanded: false, }; export const ExpandableLabel: React.FC = ({ onClick, expanded, children }) => { return ( ); }; ExpandableLabel.defaultProps = { expanded: false, };