mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
refactor(app): migrate configmap and secret form sections [EE-6233] (#10528)
* refactor(app): migrate configmap and secret form sections [EE-6233]
This commit is contained in:
parent
391b85da41
commit
7a2412b1be
18 changed files with 631 additions and 447 deletions
|
@ -10,6 +10,7 @@ import { RefAttributes } from 'react';
|
|||
import ReactSelectType from 'react-select/dist/declarations/src/Select';
|
||||
|
||||
import './ReactSelect.css';
|
||||
import { AutomationTestingProps } from '@/types';
|
||||
|
||||
interface DefaultOption {
|
||||
value: string;
|
||||
|
@ -25,7 +26,8 @@ type RegularProps<
|
|||
IsMulti,
|
||||
Group
|
||||
> &
|
||||
RefAttributes<ReactSelectType<Option, IsMulti, Group>>;
|
||||
RefAttributes<ReactSelectType<Option, IsMulti, Group>> &
|
||||
AutomationTestingProps;
|
||||
|
||||
type CreatableProps<
|
||||
Option = DefaultOption,
|
||||
|
@ -35,7 +37,8 @@ type CreatableProps<
|
|||
Option,
|
||||
IsMulti,
|
||||
Group
|
||||
>;
|
||||
> &
|
||||
AutomationTestingProps;
|
||||
|
||||
type Props<
|
||||
Option = DefaultOption,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue