feat(SW-70): create base for rate selection page

This is the foundation for the rate selection. Since we don't have UX
and UI ready yet this is on a best effort basis. Things that will be
changed later includes proper API fetching, correct design,
internationalization of text and form handling.
This commit is contained in:
Niclas Edenvin
2024-07-08 11:06:58 +02:00
parent bb422f804d
commit d6fe6a33b4
9 changed files with 264 additions and 11 deletions

View File

@@ -4,10 +4,17 @@ import { headingVariants } from "./variants"
import type { HeadingProps } from "./title"
export default function Title({
/**
* What styling to use, based on heading level. If not provided `level`
* will determine the styling.
*/
as,
children,
className = "",
color,
/**
* What HTML tag to use. Defaults to h1.
*/
level = "h1",
textAlign,
textTransform,