primereact
Version:
PrimeReact is an open source UI library for React featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime
2 lines (1 loc) • 630 B
JavaScript
import*as e from"react";import{PrimeReactContext as r}from"primereact/api";import{useMergeProps as t}from"primereact/hooks";import{ComponentBase as o}from"primereact/componentbase";import{ObjectUtils as a}from"primereact/utils";var p=o.extend({defaultProps:{__TYPE:"Row",style:null,className:null,children:void 0},getCProp:function(e,r){return a.getComponentProp(e,r,p.defaultProps)}}),m=function(o){var a=t(),m=e.useContext(r),s=p.getProps(o,m),i=p.setMetaData({props:s}).ptm,l=a({className:s.className,style:s.style},p.getOtherProps(s),i("root"));return e.createElement("tr",l,s.children)};m.displayName="Row";export{m as Row};