Create a factory that allows to easily create components that support plugins, just like [Slate](https://docs.slatejs.org/guides/plugins). ```jsx const Something = supportPlugins(SomethingWithoutPlugins); <Something onSomeEvent={() => {}} renderSomething={(data) => {}} plugins={[ { onSomeEvent={() => {}} renderSomething={(data) => {}} } ]} /> ```