{{=« »=}} 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 { backgroundColor, height, icon, imageFile, imageUrl, label, textColor, width, ...other } = props; return imageFile || imageUrl ? ( ) : ( {icon === '' ? label : } ); } «componentName».defaultProps = defaultProps; addPropertyControls(«componentName», { «& propertyControls» });