@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.
23 lines (22 loc) • 569 B
TypeScript
import { Unit } from '../types';
declare enum VolumeUnit {
CubicCentimetre = "cm\u00B3",
CubicDecimetre = "dm\u00B3",
CubicMetre = "m\u00B3",
CubicInch = "in\u00B3",
CubicMillimetre = "mm\u00B3"
}
/**
* export interface Unit<T> {
* type: T;
* displayString: string;
* step: number;
* secondaryDisplayStrings?: string[];
* minValue: number;
* isDefault: boolean;
* placeholder?: string;
* }
*/
export declare const VolumeUnits: Unit<VolumeUnit>[];
export declare const Volume: Record<VolumeUnit, Unit<VolumeUnit>>;
export {};