
* add edit links to events on dashboard * fit elements on screen for mobile * initialize components for consistent text styles * add more fine grained width/height settings * add higher level setting for when an event is available - db: add supporting values to period allow setting an amount of days, a range, or unlimited number days an event is available * fix issue where periodDates are null * return minimal required data, handle date parsing * [ui] limit booking days based on user period settings * api: validate user period settings * [db] migration for event type period settings
11 lines
345 B
TypeScript
11 lines
345 B
TypeScript
import React from "react";
|
|
import classnames from "classnames";
|
|
import { TextProps } from "../Text";
|
|
|
|
const Headline: React.FunctionComponent<TextProps> = (props: TextProps) => {
|
|
const classes = classnames("text--headline", props?.className, props?.color);
|
|
|
|
return <h1 className={classes}>{props.children}</h1>;
|
|
};
|
|
|
|
export default Headline;
|