UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

2 lines (1 loc) 832 B
var a;!function(a){a.Gram="g",a.Kilogram="kg",a.Pound="lb",a.Ounce="oz"}(a||(a={}));const e=[{type:a.Gram,displayName:"Gram",secondaryDisplayStrings:["gramme","g","gram","grammes","grams"],minValue:0,maxValue:1/0,isDefault:!1,placeholder:"e.g. 1 g"},{type:a.Kilogram,displayName:"Kilogram",secondaryDisplayStrings:["kilogramme","kg","kilogram","kilogrammes","kilograms"],minValue:0,maxValue:1/0,isDefault:!0,placeholder:"e.g. 1 kg"},{type:a.Pound,displayName:"Pound",secondaryDisplayStrings:["lb","lbs","pound","pounds"],minValue:0,maxValue:1/0,isDefault:!1,placeholder:"e.g. 1 lb"},{type:a.Ounce,displayName:"Ounce",secondaryDisplayStrings:["oz","ounce","ounces"],minValue:0,maxValue:1/0,isDefault:!1,placeholder:"e.g. 1 oz"}],l={[a.Gram]:e[0],[a.Kilogram]:e[1],[a.Pound]:e[2],[a.Ounce]:e[3]};export{l as Weight,e as WeightUnits};