@activecollab/components
Version:
ActiveCollab Components
24 lines • 810 B
TypeScript
import { FormatType } from "../../utils/types";
import { TypographyProps } from "../Typography/Typography";
export interface DisplayNumberProps extends Omit<TypographyProps<"span">, "children"> {
value: string | number;
thousandSeparator?: string;
decimalSeparator?: string;
trimDecimals?: boolean;
decimalSpaces?: number;
format?: FormatType;
disableTooltip?: boolean;
shortenThreshold?: number;
}
export interface DisplayHoursProps extends Omit<TypographyProps<"span">, "children"> {
value: number;
thousandSeparator?: string;
decimalSeparator?: string;
trimZeroMinutes?: boolean;
trimDecimals?: boolean;
decimalSpaces?: number;
format?: FormatType;
disableTooltip?: boolean;
withLeadingZero?: boolean;
}
//# sourceMappingURL=types.d.ts.map