mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
17 lines
454 B
TypeScript
17 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)}
|
||
|
/>
|
||
|
)
|
||
|
}
|