Methods
(static) element(blockName, options) → {function}
Decorating React.Component
Parameters:
Name | Type | Description |
---|---|---|
blockName |
string | the name of the new node |
options |
Object | array | settings tag creation |
- Source:
Returns:
decorator
- Type
- function
Examples
import xcore from 'xblocks-core';
import xcore from 'xblocks-core';