import { ReactElement } from 'react' ; import { StyleDescriptor } from '../../../common/descriptor_types' ; export interface IStyle { getType ( ) : string ; renderEditor ( onStyleDescriptorChange ) : ReactElement < any > | null ; }