mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
0f57689750
* refactor: extract info component * feat: generate authenticated url * refactor: add companion select * refactor: ensure behaviour across environments
14 lines
331 B
TypeScript
14 lines
331 B
TypeScript
import { PropsWithChildren } from 'react';
|
|
import { IoAlertCircle } from '@react-icons/all-files/io5/IoAlertCircle';
|
|
|
|
import style from './Info.module.scss';
|
|
|
|
export default function Info({ children }: PropsWithChildren) {
|
|
return (
|
|
<div className={style.infoLabel}>
|
|
<IoAlertCircle />
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|