@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
15 lines • 561 B
TypeScript
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
import { HTMLAttributes, ReactNode } from 'react';
export type AlertType = 'info' | 'ok' | 'warning' | 'error';
export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
icon?: ReactNode;
type?: string | AlertType;
}
export declare const Alert: import("react").ForwardRefExoticComponent<AlertProps & {
children?: ReactNode | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Alert.d.ts.map