@carbon/react
Version:
React components for the Carbon Design System
30 lines (29 loc) • 1.38 kB
TypeScript
/**
* Copyright IBM Corp. 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import PropTypes from 'prop-types';
export declare const NumberFormatOptionsPropType: PropTypes.Requireable<PropTypes.InferProps<{
localeMatcher: PropTypes.Requireable<string>;
style: PropTypes.Requireable<string>;
currency: PropTypes.Requireable<string>;
currencyDisplay: PropTypes.Requireable<string>;
currencySign: PropTypes.Requireable<string>;
unit: PropTypes.Requireable<string>;
unitDisplay: PropTypes.Requireable<string>;
notation: PropTypes.Requireable<string>;
compactDisplay: PropTypes.Requireable<string>;
signDisplay: PropTypes.Requireable<string>;
minimumIntegerDigits: PropTypes.Requireable<number>;
minimumFractionDigits: PropTypes.Requireable<number>;
maximumFractionDigits: PropTypes.Requireable<number>;
minimumSignificantDigits: PropTypes.Requireable<number>;
maximumSignificantDigits: PropTypes.Requireable<number>;
useGrouping: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
numberingSystem: PropTypes.Requireable<string>;
roundingIncrement: PropTypes.Requireable<number>;
roundingMode: PropTypes.Requireable<string>;
trailingZeroDisplay: PropTypes.Requireable<string>;
}>>;