1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +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)}
/>
)
}