import React from 'react' import withDefaults from 'components/utils/with-defaults' import useTheme from 'components/styles/use-theme' interface Props { width: number height: number } const defaultProps = { width: 24, height: 24, } export type SunIconProps = Props & typeof defaultProps const SunIcon: React.FC = React.memo(({ width, height, ...props }) => { const theme = useTheme() return ( ) }) export default withDefaults(SunIcon, defaultProps)