@carbon/react
Version:
React components for the Carbon Design System
34 lines (33 loc) • 984 B
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 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): import("react/jsx-runtime").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>;
};
};
export default SearchSkeleton;
export { SearchSkeleton };