input booleans
This commit is contained in:
1 parent
70eba32b34
commit
126f1df657
7 files changed
+166
-5
No files matched your search
@@ -1,11 +1,12 @@
|
||||
import { PropsWithChildren } from "react";
|
||||
import { CSSProperties, PropsWithChildren } from "react";
|
||||
|
||||
|
||||
export interface Props {
|
||||
label: string;
|
||||
style?: CSSProperties;
|
||||
}
|
||||
export default function InputWrapper({label, children}: PropsWithChildren<Props>) {
|
||||
return <div className="input-wrapper">
|
||||
export default function InputWrapper({label, children, style={}}: PropsWithChildren<Props>) {
|
||||
return <div className="input-wrapper" style={style}>
|
||||
<label>{label}</label>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user