@carbon/react
Version:
React components for the Carbon Design System
39 lines (38 loc) • 1.21 kB
TypeScript
/**
* 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 { type HTMLAttributes } from 'react';
export interface DatePickerSkeletonProps extends HTMLAttributes<HTMLDivElement> {
range?: boolean;
/**
* Specify whether the label should be hidden, or not
*/
hideLabel?: boolean;
}
declare const DatePickerSkeleton: {
({ range, id, hideLabel, className, ...rest }: DatePickerSkeletonProps): import("react/jsx-runtime").JSX.Element;
propTypes: {
/**
* Specify an optional className to add.
*/
className: PropTypes.Requireable<string>;
/**
* Specify whether the label should be hidden, or not
*/
hideLabel: PropTypes.Requireable<boolean>;
/**
* Specify the id to add.
*/
id: PropTypes.Requireable<string>;
/**
* Specify whether the skeleton should be of range date picker.
*/
range: PropTypes.Requireable<boolean>;
};
};
export default DatePickerSkeleton;
export { DatePickerSkeleton };