mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 08:34:53 +02:00
add createOrgUser endpoint
This commit is contained in:
parent
feb558cfa8
commit
6f59d0cd2d
9 changed files with 302 additions and 81 deletions
|
@ -7,6 +7,7 @@ interface SwitchComponentProps {
|
|||
label: string;
|
||||
description?: string;
|
||||
defaultChecked?: boolean;
|
||||
disabled?: boolean;
|
||||
onCheckedChange: (checked: boolean) => void;
|
||||
}
|
||||
|
||||
|
@ -14,6 +15,7 @@ export function SwitchInput({
|
|||
id,
|
||||
label,
|
||||
description,
|
||||
disabled,
|
||||
defaultChecked = false,
|
||||
onCheckedChange
|
||||
}: SwitchComponentProps) {
|
||||
|
@ -24,6 +26,7 @@ export function SwitchInput({
|
|||
id={id}
|
||||
defaultChecked={defaultChecked}
|
||||
onCheckedChange={onCheckedChange}
|
||||
disabled={disabled}
|
||||
/>
|
||||
<Label htmlFor={id}>{label}</Label>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue