// Copyright (c) 2016 Paul Jolly , all rights reserved. // Use of this document is governed by a license found in the LICENSE document. package react // TableElem is the React element definition corresponding to the HTML element type TableElem struct { Element } // _TableProps are the props for a
component type _TableProps struct { *BasicHTMLElement } // Table creates a new instance of a
element with the provided props and children func Table(props *TableProps, children ...Element) *TableElem { rProps := &_TableProps{ BasicHTMLElement: newBasicHTMLElement(), } if props != nil { props.assign(rProps) } return &TableElem{ Element: createElement("table", rProps, children...), } }