Home Reference Source Repository
public class | source

StructuredPublisher

Extends:

react~React.Component → StructuredPublisher

dumb component for rendering the structured representation of publisher information

Method Summary

Public Methods
public

render(): ReactElement

render

public

updateHtml(resource: object, pattern: string): ReactElement

updateHtml : transform pattern+resource props into a react element

Public Methods

public render(): ReactElement source

render

Return:

ReactElement

markup

public updateHtml(resource: object, pattern: string): ReactElement source

updateHtml : transform pattern+resource props into a react element

Params:

NameTypeAttributeDescription
resource object

the resource to represent

pattern string

the pattern to represent the resource with

Return:

ReactElement

markup