@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) • 503 B
JavaScript
const e={base:"s",s:{toBase:e=>e,fromBase:e=>e,fullName:"Second"},ms:{toBase:e=>e/1e3,fromBase:e=>1e3*e,fullName:"Millisecond"},min:{toBase:e=>60*e,fromBase:e=>e/60,fullName:"Minute"},h:{toBase:e=>3600*e,fromBase:e=>e/3600,fullName:"Hour"},d:{toBase:e=>86400*e,fromBase:e=>e/86400,fullName:"Day"},wk:{toBase:e=>604800*e,fromBase:e=>e/604800,fullName:"Week"},mo:{toBase:e=>2628e3*e,fromBase:e=>e/2628e3,fullName:"Month"},yr:{toBase:e=>31536e3*e,fromBase:e=>e/31536e3,fullName:"Year"}};export{e as time};