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.

20 lines
518 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;
};
type CommonFenceInputGroupProps = CommonFenceInputGroupOptionalProps;