@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
26 lines (25 loc) • 739 B
TypeScript
/**
* MSKCC DSM 2021, 2024
*/
import React from 'react';
import { ButtonSize } from './Button';
export interface ButtonSkeletonProps extends React.HTMLAttributes<HTMLElement> {
/**
* Optionally specify an href for your Button to become an `<a>` element
*/
href?: string;
/**
* Specify the size of the button, from a list of available sizes.
*/
size?: ButtonSize;
/**
* @deprecated This property will be removed in the next major Carbon version,
* use size={sm} instead.
*
* Specify whether the Button should be a small variant
*/
small?: boolean;
}
declare const ButtonSkeleton: React.FC<ButtonSkeletonProps>;
export default ButtonSkeleton;
export { ButtonSkeleton };