fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
12 lines (11 loc) • 646 B
TypeScript
import { default as React, ReactNode } from 'react';
import { CommonAndHTMLProps } from '../Element/constants';
export interface CalloutCustomProps {
kind: "info" | "success" | "warning" | "error";
children: ReactNode;
title?: string;
}
export type CalloutElementType = HTMLDivElement;
export type CalloutProps = Omit<CommonAndHTMLProps<CalloutElementType>, keyof CalloutCustomProps> & CalloutCustomProps;
export declare const Callout: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLDivElement>, keyof CalloutCustomProps> & CalloutCustomProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Callout.d.ts.map