@carbon/react
Version:
React components for the Carbon Design System
32 lines (31 loc) • 925 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 { HTMLAttributes, ReactNode } from 'react';
export interface SliderSkeletonProps extends HTMLAttributes<HTMLDivElement> {
/**
* The `ariaLabel` for the handle icon.
*/
ariaLabel?: string;
/**
* The `ariaLabel` for the upper bound slider handle when there are two handles.
*/
unstable_ariaLabelHandleUpper?: string;
/**
* Specify an optional className to add to the form item wrapper.
*/
className?: string;
/**
* Specify whether the label should be hidden, or not
*/
hideLabel?: boolean;
/**
* Turn the slider into a range slider.
*/
twoHandles?: boolean;
}
declare const _default: (props: SliderSkeletonProps) => ReactNode;
export default _default;