import { useContext } from 'react' ; import styled from 'reshadow' ; import { useStyles } from '@cloudbeaver/core-theming' ; import { Styles } from './styles' ; interface IProps { className ? : string ; } export const ListItemIcon = function ListItemIcon ( { children , className , } ) { const styles = useContext ( Styles ) ; return styled ( useStyles ( styles ) ) ( < list - item - icon className = { className } > { children } < /list-item-icon>); } ;