UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

31 lines (30 loc) 882 B
/** * MSKCC DSM 2021, 2023 */ import PropTypes from 'prop-types'; import React from 'react'; export interface TextInputSkeletonProps extends React.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; } declare const TextInputSkeleton: { ({ hideLabel, className, ...rest }: TextInputSkeletonProps): JSX.Element; 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>; }; }; export default TextInputSkeleton; export { TextInputSkeleton };