let { ChoiceGroup, IChoiceGroupOption, Fabric } = window.Fabric; interface IChoiceGroupLabelExampleState { imageKey: string; } class ChoiceGroupLabelExample extends React.Component<{}, IChoiceGroupLabelExampleState> { constructor(props: {}) { super(props); this.state = { imageKey: '' }; } public render() { return (
Here is a custom label
); } private _onChange = (ev: React.FormEvent, option: any): void => { console.dir(option); }; } ReactDOM.render(, document.getElementById('content'));