@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
12 lines (11 loc) • 541 B
TypeScript
import type { VariantItemPropTypes } from '../components/VariantItem/index.js';
import type { ListItemStandardDomRef } from '../webComponents/ListItemStandard/index.js';
interface VariantManagementContextTypes {
selectVariantItem: (_selectedVariant: SelectedVariant) => void;
selectedVariant: SelectedVariant;
}
export interface SelectedVariant extends VariantItemPropTypes {
variantItem: ListItemStandardDomRef;
}
export declare const VariantManagementContext: import("react").Context<VariantManagementContextTypes>;
export {};