UIByline

Author byline component

Since: 7.0.0 (3.8.0)

NameTypeDescription

node

Node

Required - The substance node, which requires an "authors"-property

bylineSearch

boolean

Required - If search should be enabled

isolatedNodeState

string

Required - The isolatedNodeState property from the parent Component

onClose

function

Callback when closing

Example

import {UIByline} from 'writer'

render($$) {
    const el = $$('div')

    return el.append(
        $$(UIByline, {
            node: this.props.node,
            bylineSearch: true,
            isolatedNodeState: this.props.isolatedNodeState
        })
    )
}