useMappings
useMappings is a helper hook that will return the plugin mappings config
How to use
import { Plugin } from '@root'
const MyCustomComponent = props => {
const pluginMappings = Plugin.useMappings()
return (
<div>
...
</div>
)
}
export default MyCustomComponent
Last updated
Was this helpful?