UNPKG

@carbon/react

Version:

React components for the Carbon Design System

41 lines (40 loc) 1.29 kB
/** * Copyright IBM Corp. 2016, 2023 * * 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'; import { HTMLAttributes } from 'react'; export interface NumberInputSkeletonProps extends HTMLAttributes<HTMLDivElement> { /** * Specify an optional className to add to the form item wrapper. */ className?: string; /** * Specify whether the label should be hidden, or not */ hideLabel?: boolean; /** * Specify the size of the Number Input. */ size?: 'sm' | 'md' | 'lg'; } declare function NumberInputSkeleton({ hideLabel, className, size, ...rest }: NumberInputSkeletonProps): import("react/jsx-runtime").JSX.Element; declare namespace NumberInputSkeleton { var propTypes: { /** * Specify an optional className to add to the form item wrapper. */ className: PropTypes.Requireable<string>; /** * Specify whether the label should be hidden, or not */ hideLabel: PropTypes.Requireable<boolean>; /** * Specify the size of the Number Input. */ size: PropTypes.Requireable<string>; }; } export default NumberInputSkeleton;