@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
13 lines (12 loc) • 594 B
TypeScript
import type { ValueProps } from '../../types';
import type { NumberFormatProps } from '../../../../components/NumberFormat';
import type { SpacingProps } from '../../../../shared/types';
export type ValueNumberProps = Omit<ValueProps<number>, 'defaultValue'> & Omit<NumberFormatProps, keyof SpacingProps> & Partial<{
defaultValue?: number | string;
minimum?: number;
maximum?: number;
/** Formats the value as a percentage. */
percent?: boolean;
}>;
declare function NumberValue(props: ValueNumberProps): import("react/jsx-runtime").JSX.Element;
export default NumberValue;