Files
cinny/src/app/components/message/placeholder/LinePlaceholder.tsx
T

16 lines
411 B
TypeScript
Raw Normal View History

2023-10-06 13:44:06 +11:00
import React from 'react';
import { Box, as } from 'folds';
import classNames from 'classnames';
import * as css from './LinePlaceholder.css';
2024-12-16 21:55:15 +11:00
export const LinePlaceholder = as<'div', css.LinePlaceholderVariants>(
({ className, variant, ...props }, ref) => (
<Box
className={classNames(css.LinePlaceholder({ variant }), className)}
shrink="No"
{...props}
ref={ref}
/>
),
2024-12-16 21:55:15 +11:00
);