Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Badge/Badge.d.ts

raw
1 /// <reference types="react" />
2 export interface BadgeProps extends React.HTMLProps<HTMLSpanElement> {
3 /** Text announced by screen readers to indicate the current content/status of the badge. */
4 screenReaderText?: string;
5 /** Adds styling to the badge to indicate it has been read */
6 isRead?: boolean;
7 /** Adds styling to the badge to indicate it is disabled */
8 isDisabled?: boolean;
9 /** content rendered inside the Badge */
10 children?: React.ReactNode;
11 /** additional classes added to the Badge */
12 className?: string;
13 }
14 export declare const Badge: React.FunctionComponent<BadgeProps>;
15 //# sourceMappingURL=Badge.d.ts.map