1 2 3 4 5 6 7 8 9 10 11 12 13 14 15import { ReactNode } from "react"; import styles from "./StyledLabeledInput.module.scss"; interface StyledLabledInputProps extends React.PropsWithChildren { variant?: string; } export const StyledLabeledInput = ({ variant = "stacked", children }: StyledLabledInputProps) => { return ( <div className={styles.styledLabeledInput + " " + styles[variant]}> {children} </div> ); };