UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

9 lines (8 loc) 388 B
import { jsx as _jsx } from "react/jsx-runtime"; import { cn } from '../../lib/utils'; import { Box } from '../Flex'; export const baseClassName = 'ab-ErrorBox'; const ErrorBox = (props) => { return (_jsx(Box, { ...props, className: cn('twa:p-3 twa:rounded-standard twa:bg-destructive twa:text-destructive-foreground', props.className, baseClassName) })); }; export default ErrorBox;