{{=« »=}} import * as React from 'react'; import { addPropertyControls, ControlType } from 'framer'; // tslint:disable-next-line: ban-ts-ignore // @ts-ignore import Mui«componentName» from '@material-ui/core/«componentName»'; import { Icon } from './Icon'; interface Props { «& tsInterface» } const defaultProps: Props = { «& defaultProps» }; export const «componentName»: React.SFC = (props: Props) => { const { endIcon, endIconTheme, height, label, startIcon, startIconTheme, variant, width, ...other } = props; const StartIcon = startIcon === '' ? undefined : const EndIcon = endIcon === '' ? undefined : return (
{label}
); } «componentName».defaultProps = defaultProps; addPropertyControls(«componentName», { «& propertyControls» });