Portal/rsconcept/frontend/src/components/ui/NoData.tsx
2025-01-28 23:23:03 +03:00

17 lines
385 B
TypeScript

import clsx from 'clsx';
import { CProps } from '@/components/props';
/**
* Wraps content in a div with a centered text.
*/
function NoData({ className, children, ...restProps }: CProps.Div) {
return (
<div className={clsx('p-3 flex flex-col items-center text-center select-none w-full', className)} {...restProps}>
{children}
</div>
);
}
export default NoData;