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}
|
|
|
|
|
/>
|
2026-05-21 23:30:50 -04:00
|
|
|
),
|
2024-12-16 21:55:15 +11:00
|
|
|
);
|