Plugins
⚠️ The plugin API is highly experimental and is likely to experience breaking changes.
Plugins allow you to build extensions that enhance the capabilities of Puck.
const myPlugin = {
renderRoot: ({ children }) => <div>{children}</div>,
};
export const Example = () => {
return <Puck config={config} data={data} plugins={[myPlugin]}>
}
Contents
- Functions - A list of the functions available to each plugin.
- Actions - Actions enable you to make changes to the internal AppState via the
dispatch
method.