mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 13:44:12 +00:00
8ad260d28a
fix: parsing of custom fields for blocks refactor: extract cuesheet settings refactor: cuesheet actions refactor: improve cuesheet performance on resizing
14 lines
386 B
TypeScript
14 lines
386 B
TypeScript
import { PropsWithChildren } from 'react';
|
|
|
|
import { cx } from '../../../../common/utils/styleUtils';
|
|
|
|
import style from './MutedText.module.scss';
|
|
|
|
interface MutedTextProps {
|
|
numeric?: boolean;
|
|
}
|
|
|
|
export default function MutedText({ numeric, children }: PropsWithChildren<MutedTextProps>) {
|
|
return <span className={cx([style.muted, numeric && style.numeric])}>{children}</span>;
|
|
}
|