1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
festa/components/generic/layouts/monorow.tsx

16 lines
454 B
TypeScript

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)}
/>
)
}