react static typescript properties code example
Example: react static typescript properties
const PanelComponent: React.FC<Props> = (props) => {
...
}
export const Panel = Object.assign(PanelComponent, { PanelFieldset })
const PanelComponent: React.FC<Props> = (props) => {
...
}
export const Panel = Object.assign(PanelComponent, { PanelFieldset })