Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
593 B

type FenceParameterInputBuilder = (args: {
id: string;
isChecked?: boolean;
isRequired?: boolean;
label?: string;
selectOptions?: string[];
value?: string;
}) => ReactElement;
type MapToInputBuilder = Partial<
Record<Exclude<FenceParameterType, 'string'>, FenceParameterInputBuilder>
> & { string: FenceParameterInputBuilder };
type CommonFenceInputGroupOptionalProps = {
fenceId?: string;
fenceTemplate?: APIFenceTemplate;
previousFenceName?: string;
previousFenceParameters?: FenceParameters;
};
type CommonFenceInputGroupProps = CommonFenceInputGroupOptionalProps;