UIByline

Author byline component

Properties

Name

Type

Description

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

Example

import {UIByline} from 'writer'

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

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

Last updated