mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-17 20:55:28 +00:00
chore: update radio group
This commit is contained in:
parent
e1f94b79e6
commit
138405559e
@ -147,7 +147,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
|
||||
<div className="w-full flex flex-col justify-start items-start mb-3">
|
||||
<span className="mb-2">Visibility</span>
|
||||
<div className="w-full flex flex-row justify-start items-center text-base">
|
||||
<RadioGroup row value={state.shortcutCreate.visibility} onChange={handleVisibilityInputChange}>
|
||||
<RadioGroup orientation="horizontal" value={state.shortcutCreate.visibility} onChange={handleVisibilityInputChange}>
|
||||
<Radio value="PRIVATE" label="Private" />
|
||||
<Radio value="WORKSPACE" label="Workspace" />
|
||||
<Radio value="PUBLIC" label="Public" />
|
||||
|
@ -96,7 +96,7 @@ const UpsertWorkspaceUserDialog: React.FC<Props> = (props: Props) => {
|
||||
<div className="w-full flex flex-col justify-start items-start mb-3">
|
||||
<span className="mb-2">Role</span>
|
||||
<div>
|
||||
<RadioGroup row value={state.workspaceUserUpsert.role} onChange={handleUserRoleInputChange}>
|
||||
<RadioGroup orientation="horizontal" value={state.workspaceUserUpsert.role} onChange={handleUserRoleInputChange}>
|
||||
<Radio value="USER" label="User" />
|
||||
<Radio value="ADMIN" label="Admin" />
|
||||
</RadioGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user