@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
3 lines (2 loc) • 1.25 kB
JavaScript
var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var f=(e,s)=>{for(var t in s)p(e,t,{get:s[t],enumerable:!0})},c=(e,s,t,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of u(s))!i.call(e,r)&&r!==t&&p(e,r,{get:()=>s[r],enumerable:!(o=l(s,r))||o.enumerable});return e};var y=e=>c(p({},"__esModule",{value:!0}),e);var b={};f(b,{flexPropDefs:()=>n});module.exports=y(b);var a=require("../props/index.js");const m=["div","span"],d=["none","inline-flex","flex"],P=["row","column","row-reverse","column-reverse"],v=["start","center","end","baseline","stretch"],w=["start","center","end","between"],D=["nowrap","wrap","wrap-reverse"],n={as:{type:"enum",values:m,default:"div"},...a.asChildPropDef,display:{type:"enum",className:"rt-r-display",values:d,responsive:!0},direction:{type:"enum",className:"rt-r-fd",values:P,responsive:!0},align:{type:"enum",className:"rt-r-ai",values:v,responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:w,parseValue:V,responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:D,responsive:!0},...a.gapPropDefs};function V(e){return e==="between"?"space-between":e}
//# sourceMappingURL=flex.props.js.map
;