nexpi-ui
Version:
An elegant and minimalist Next.js 14 component library
10 lines (9 loc) • 320 B
TypeScript
import React from 'react';
interface WarningBoxProps {
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
variant?: 'notice' | 'info' | 'success' | 'warning' | 'error';
}
declare const WarningBox: ({ ...props }: WarningBoxProps) => React.JSX.Element;
export default WarningBox;