@carbon/react
Version:
React components for the Carbon Design System
30 lines (29 loc) • 879 B
TypeScript
/**
* Copyright IBM Corp. 2025, 2025
*
* 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';
export declare const ShapeIndicatorKinds: string[];
export type ShapeIndicatorKind = (typeof ShapeIndicatorKinds)[number];
export interface ShapeIndicatorProps {
/**
* Specify an optional className to add.
*/
className?: string;
/**
* Specify the kind of shape to be used
*/
kind: ShapeIndicatorKind;
/**
* Label next to the shape
*/
label: string;
/**
* Specify the text size of the Shape Indicator. Defaults to 12.
*/
textSize?: 12 | 14;
}
export declare const ShapeIndicator: React.ForwardRefExoticComponent<ShapeIndicatorProps & React.RefAttributes<HTMLDivElement>>;
export default ShapeIndicator;