{{=« »=}} import * as React from 'react'; import { PropertyControls, ControlType } from 'framer'; import Mui«componentName» from '@material-ui/core/«componentName»'; // Define type of property interface Props { «& tsInterface» } export class «componentName» extends React.Component { // Set default properties static defaultProps = { «& defaultProps» }; // Items shown in property panel static propertyControls: PropertyControls = { «& propertyControls» }; state = { checked: false, }; handleChange = () => { this.setState({ checked: !this.state.checked, }); }; render() { const { height, width, ...other } = this.props; return (
); } }