@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
15 lines • 662 B
TypeScript
/// <reference types="react" />
export interface BadgeProps extends React.HTMLProps<HTMLSpanElement> {
/** Text announced by screen readers to indicate the current content/status of the badge. */
screenReaderText?: string;
/** Adds styling to the badge to indicate it has been read */
isRead?: boolean;
/** Adds styling to the badge to indicate it is disabled */
isDisabled?: boolean;
/** content rendered inside the Badge */
children?: React.ReactNode;
/** additional classes added to the Badge */
className?: string;
}
export declare const Badge: React.FunctionComponent<BadgeProps>;
//# sourceMappingURL=Badge.d.ts.map