mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 10:23:54 +00:00
6ac963684d
* chore: upgrade minor versions * chore: upgrade cypress * chore: upgrade fe dependencies * update readme * update osx images * update readme * upgrade dependencies * upgrade test dependency * feat: add option to input autofill * feat: autofill to the left * chore: update docs * chore: cleanup ci * version bump * style: prevent zero height bar * fix: prevent loosing menu * ux: improve input, no spellcheck or autocomplete * small ux improvements in cuesheets * feat 111/increase maximum number of events * fix: optimistic delete issue with filter * refact: pincode workflow * chore: add versioning to packages
24 lines
593 B
React
24 lines
593 B
React
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import style from './TitleCard.module.scss';
|
|
|
|
export default function TitleCard(props) {
|
|
const { label, title, subtitle, presenter } = props;
|
|
|
|
return (
|
|
<>
|
|
<div className={style.label}>{label}</div>
|
|
<div className={style.title}>{title}</div>
|
|
<div className={style.presenter}>{presenter}</div>
|
|
<div className={style.subtitle}>{subtitle}</div>
|
|
</>
|
|
);
|
|
}
|
|
|
|
TitleCard.propTypes = {
|
|
label: PropTypes.string,
|
|
title: PropTypes.string,
|
|
subtitle: PropTypes.string,
|
|
presenter: PropTypes.string,
|
|
}
|