UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

34 lines (33 loc) 861 B
/** * MSKCC DSM 2021, 2023 */ import PropTypes from 'prop-types'; import React from 'react'; export interface SearchSkeletonProps extends React.HTMLAttributes<HTMLDivElement> { /** * Specify an optional className to add. */ className?: string; /** * Specify whether the Search should be a small variant. */ small?: boolean; } declare const SearchSkeleton: { ({ small, className, ...rest }: SearchSkeletonProps): JSX.Element; propTypes: { /** * Specify an optional className to add. */ className: PropTypes.Requireable<string>; /** * Specify whether the Search should be a small variant */ small: PropTypes.Requireable<boolean>; }; defaultProps: { small: boolean; }; }; export default SearchSkeleton; export { SearchSkeleton };