UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

12 lines (11 loc) 535 B
import { HTMLAttributes, JSX } from 'react'; import { SystemFeedbackType } from './SystemFeedback.utils'; export interface SystemFeedbackProps extends HTMLAttributes<HTMLDivElement> { /** Sets the id for connecting the system feedback with aria attributes like aria-describedby */ id: string; /** Defines the message. */ message: string; /** Defines the type. */ type: SystemFeedbackType; } export declare const DSSystemFeedback: ({ id, message, type, className, ...rest }: SystemFeedbackProps) => JSX.Element;