mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
14 lines
No EOL
366 B
TypeScript
14 lines
No EOL
366 B
TypeScript
import classNames from "classnames"
|
|
import { HTMLProps, ReactNode } from "react"
|
|
|
|
type FormMonorowProps = {
|
|
children: ReactNode
|
|
}
|
|
|
|
export function FormMonorow(props: FormMonorowProps & HTMLProps<HTMLFormElement>) {
|
|
return (
|
|
<form {...props} className={classNames("form-monorow", props.className)}>
|
|
{props.children}
|
|
</form>
|
|
)
|
|
} |