license import React from 'react' ; import { MenuItem , MenuItemElement , MenuItemProps , } from '../menu/menuItem.component' ; export type DrawerItemProps = MenuItemProps ; export type DrawerItemElement = React . ReactElement < DrawerItemProps > ; extends React . Component property property property property overview-example export class DrawerItem extends React . Component < MenuItemProps > { public render ( ) { return ( < MenuItem { ... this . props } / > ) ; } }