UNPKG

@carbon/react

Version:

React components for the Carbon Design System

29 lines (28 loc) 885 B
/** * 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 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 };