UIByline
Properties
Name | Type |
---|---|
props | props |
new UIByline(props)
An Author Byline Component
Param | Type |
---|---|
props | props |
Example
import {UIByline} from 'writer'
render($$) {
const el = $$('div')
return el.append(
$$(UIByline, {
node: this.props.node,
bylineSearch: true,
isolatedNodeState: this.props.isolatedNodeState
})
)
}
UIByline.props
Properties
Name | Type | Description |
---|---|---|
node | Node |
The substance node, which requires an "authors"-property |
bylineSearch | boolean |
If search should be enabled |
isolatedNodeState | string |
The isolatedNodeState property from the parent Component |