UNPKG

@uva-glass/component-library

Version:

React components UvA

13 lines (12 loc) 463 B
type FeedbackLevel = 'success' | 'warning' | 'error'; export interface FeedbackBoxProps { /** The id of the element. */ id?: string; /** The feedback level, indicates what icon is used. */ level: FeedbackLevel; /** The feedback value. */ feedback: string; } /** Represents a component to show feedback. */ export declare const FeedbackBox: ({ id, level, feedback }: FeedbackBoxProps) => import("react/jsx-runtime").JSX.Element; export {};