import { AlertProps, AlertType } from "@lifesg/react-design-system/alert"; import { TComponentOmitProps } from "../../frontend-engine"; import { IBaseElementSchema, TBlockElementSchema, TInlineElementSchema } from "../types"; type TAlertChildren = Exclude, IAlertSchema> | TInlineElementSchema; export interface IAlertSchema extends IBaseElementSchema<"alert">, TComponentOmitProps { type: AlertType; children: React.ReactNode | Record>; } export {};