// Copyright (c) 2016 Paul Jolly , all rights reserved. // Use of this document is governed by a license found in the LICENSE document. package react // H1Elem is the React element definition corresponding to the HTML

element type H1Elem struct { Element } // _H1Props defines the properties for the

element type _H1Props struct { *BasicHTMLElement } // H1 creates a new instance of a

element with the provided props and // child func H1(props *H1Props, children ...Element) *H1Elem { rProps := &_H1Props{ BasicHTMLElement: newBasicHTMLElement(), } if props != nil { props.assign(rProps) } return &H1Elem{ Element: createElement("h1", rProps, children...), } }