mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Added SettingsTable.
This commit is contained in:
parent
f84e41e198
commit
e2fcd40c2b
19 changed files with 335 additions and 300 deletions
|
|
@ -1,13 +1,9 @@
|
|||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { useBreakpoint } from 'react-basics';
|
||||
import styles from './PageHeader.module.css';
|
||||
|
||||
export default function PageHeader({ title, children }) {
|
||||
const breakPoint = useBreakpoint();
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.header, { [styles[breakPoint]]: true })}>
|
||||
<div className={styles.header}>
|
||||
<div className={styles.title}>{title}</div>
|
||||
<div className={styles.actions}>{children}</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue