UNPKG

@uva-glass/component-library

Version:

React components UvA

10 lines (9 loc) 481 B
import { PropsWithChildren, ReactNode } from 'react'; export interface InfoMessageProps { /** The message to show. */ message: string | ReactNode; /** `true` if the info message should be wrapped in a container; otherwise, `false`. */ hasOwnContainer?: boolean; } /** Represents a component to show an info message. */ export declare const InfoMessage: ({ message, hasOwnContainer }: PropsWithChildren<InfoMessageProps>) => import("react/jsx-runtime").JSX.Element;