// Copyright (c) 2016 Paul Jolly , all rights reserved. // Use of this document is governed by a license found in the LICENSE document. package react // HrElem is the React element definition corresponding to the HTML
element type HrElem struct { Element } // _HrProps defines the properties for the
element type _HrProps struct { *BasicHTMLElement } // Hr creates a new instance of a
element with the provided props func Hr(props *HrProps) *HrElem { rProps := &_HrProps{ BasicHTMLElement: newBasicHTMLElement(), } if props != nil { props.assign(rProps) } return &HrElem{ Element: createElement("hr", rProps), } }