1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00
festa/components/generic/layouts/monorow.tsx

17 lines
454 B
TypeScript
Raw Normal View History

2022-06-11 03:08:49 +00:00
import { default as classNames } from "classnames";
import { ComponentPropsWithoutRef } from "react";
import style from "./monorow.module.css"
/**
* A layout to display something in a single line, usually a form or a group of inputs.
*/
export function LayoutMonorow(props: ComponentPropsWithoutRef<"div">) {
return (
<div
{...props}
className={classNames(style.layoutMonorow, props.className)}
/>
)
}