createAgent
Params
Examples
const Agent = createAgent('myarea', 'id')
...
<Agent id='first' text='hello'/>
<Agent id='second' text='world'/>
...const Agent = createAgent(
'myarea',
({category, id}) => `${category}-${id}`
)
...
<Agent category='product' id='125' title='Product'/>
...Notice
Last updated