@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
3 lines (2 loc) • 905 B
JavaScript
import{paddingPropDefs as s}from"../props/padding.props.js";import{widthPropDefs as t}from"../props/width.props.js";const r=["1","2","3"],a=["surface","ghost"],o=["auto","fixed"],n={size:{type:"enum",className:"rt-r-size",values:r,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:a,default:"ghost"},layout:{type:"enum",className:"rt-r-tl",values:o,responsive:!0}},i=["start","center","end","baseline"],u={align:{type:"enum",className:"rt-r-va",values:i,parseValue:l,responsive:!0}};function l(e){return{baseline:"baseline",start:"top",center:"middle",end:"bottom"}[e]}const p=["start","center","end"],f={justify:{type:"enum",className:"rt-r-ta",values:p,parseValue:c,responsive:!0},...t,...s};function c(e){return{start:"left",center:"center",end:"right"}[e]}export{f as tableCellPropDefs,n as tableRootPropDefs,u as tableRowPropDefs};
//# sourceMappingURL=table.props.js.map