2025-12-11 10:40:55 +01:00
|
|
|
/*
|
2026-01-12 15:00:36 +01:00
|
|
|
* Copyright (c) 2026 by Christian Kellner.
|
2025-12-11 10:40:55 +01:00
|
|
|
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
|
|
|
|
|
*/
|
|
|
|
|
|
2026-04-22 21:11:18 +02:00
|
|
|
import './Headline.less';
|
2021-01-21 16:09:23 +01:00
|
|
|
|
2026-04-22 21:11:18 +02:00
|
|
|
export default function Headline({ text, actions } = {}) {
|
2021-01-21 16:09:23 +01:00
|
|
|
return (
|
2026-04-22 21:11:18 +02:00
|
|
|
<div className="page-heading">
|
|
|
|
|
<div className="page-heading__row">
|
|
|
|
|
<h1 className="page-heading__title">{text}</h1>
|
|
|
|
|
{actions && <div>{actions}</div>}
|
|
|
|
|
</div>
|
|
|
|
|
<div className="page-heading__line" />
|
|
|
|
|
</div>
|
2021-01-21 16:09:23 +01:00
|
|
|
);
|
|
|
|
|
}
|