import React from 'react' import useTheme from '../use-theme' import withDefaults from '../utils/with-defaults' interface Props { color?: string width?: number height?: number } const defaultProps = { width: 16, height: 16 } export type TreeLeafIconProps = Props & typeof defaultProps const TreeLeafIcon: React.FC = ({ color, width, height }) => { const theme = useTheme() return ( ) } const MemoTreeLeafIcon = React.memo(TreeLeafIcon) export default withDefaults(MemoTreeLeafIcon, defaultProps)