import React from 'react'; import './VariantList.css'; export type VariantListProps = { /** *Specifies the name of selected variant. */ selectedVariantName?: string; /** *Lets you fetch the variant list using the API */ fetchVariantList?: Function; /** *Lets you display a variant list display in disbaled state */ isListDisabled?: boolean; /** *Pass an ID that can be used for testing purposes. It is applied as a data attribute(data-test-id). */ testId?: string; /** *Pass onclickHandler to handle click on variant */ onClickHandler?: Function; /** *Pass onBaseClickHandler to handle click on variant */ onBaseClickHandler?: Function; /** *Specifies the name of selected locale of the entry. */ selectedLocaleName?: string; /** *Specifies the name of selected ct of the entry. */ selectedContentTypeName?: string; /** *Specifies the number of variant group that will be fetched in API. */ batchSize?: number; /** *Specifies the number of variant group that will be fetched in API. */ variantModalCustomClass?: string; prefix?: React.ReactNode; multiSelectTag?: boolean; withPortal?: boolean; portalId?: string; portalProps?: any; disableNonCreatedVariant?: boolean; /** * Determines whether button to open variant list is disabled or not */ disabled?: boolean; }; declare const VariantList: React.ForwardRefExoticComponent>; export default VariantList;