import { IconType } from '../icon/icon';
import * as classnames from "classnames";
-export interface SingleListItemDataProps {
+export interface ListItemTextIconDataProps {
icon: IconType;
name: string;
isActive?: boolean;
hasMargin?: boolean;
}
-type SingleListItemProps = SingleListItemDataProps & WithStyles<CssRules>;
+type ListItemTextIconProps = ListItemTextIconDataProps & WithStyles<CssRules>;
-class SingleListItem extends React.Component<SingleListItemProps, {}> {
+class ListItemTextIcon extends React.Component<ListItemTextIconProps, {}> {
render() {
const { classes, isActive, hasMargin, name, icon: Icon } = this.props;
return (
},
});
-export default withStyles(styles)(SingleListItem);
\ No newline at end of file
+export default withStyles(styles)(ListItemTextIcon);
\ No newline at end of file