Kind: Function
Source: atloria-monorepo/packages/editor/src/plugins/toolbar/components/InsertAudience.tsx
Factory function to create an audience insertion toolbar button with dynamic audience data.
For this to work, you need to have the directives plugin enabled with the audience directive descriptor configured.
Signature
tsfunction createInsertAudience(audiences: AudienceModel[])
Parameters
| Name | Type |
|---|---|
audiences | AudienceModel[] |
Was this page helpful?