import React from 'react'; import classNames from 'classnames'; import './PreviewLoadingRing.scss'; export type Props = React.PropsWithChildren<{ className?: string; color?: string; theme?: 'light' | 'dark'; }>; export default function PreviewLoadingRing({ children, className, color, theme = 'light' }: Props): React.ReactElement { const borderStyles = color ? { backgroundColor: color } : undefined; return (
{children}
); }