@carbon/react
Version:
React components for the Carbon Design System
36 lines (35 loc) • 1.06 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 React from 'react';
export interface TagSkeletonProps extends React.HTMLAttributes<HTMLSpanElement> {
/**
* Specify an optional className to add.
*/
className?: string;
/**
* Specify the size of the Tag. Currently supports either `sm` or
* default sizes.
*/
size?: 'sm';
}
declare function TagSkeleton({ className, size, ...rest }: TagSkeletonProps): import("react/jsx-runtime").JSX.Element;
declare namespace TagSkeleton {
var propTypes: {
/**
* Specify an optional className to add.
*/
className: PropTypes.Requireable<string>;
/**
* Specify the size of the Tag. Currently supports either `sm` or
* default sizes.
*/
size: PropTypes.Requireable<string>;
};
}
export default TagSkeleton;
export { TagSkeleton };