mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
import { PropsWithChildren } from 'react';
|
|
|
|
import style from './GhostedText.module.scss';
|
|
|
|
interface GhostedTextProps {
|
|
multiline?: boolean;
|
|
}
|
|
|
|
export default function GhostedText({ children, multiline }: PropsWithChildren<GhostedTextProps>) {
|
|
return <div className={`${style.ghostedText} ${multiline ? style.multiline : ''}`}>{children}</div>;
|
|
}
|