@itwin/presentation-components
Version:
React components based on iTwin.js Presentation library
17 lines • 815 B
TypeScript
/**
* @packageDocumentation
* @module Properties
*/
import { PropertyRecord } from "@itwin/appui-abstract";
import { IPropertyValueRenderer, PropertyValueRendererContext } from "@itwin/components-react";
/**
* Property value renderer for instance keys. If application provides a [[UnifiedSelectionContext]] and this value is
* clicked, the current selection is replaced with the instance pointed by the key. The selection changes at the default
* selection level as provided by the context.
* @public
*/
export declare class InstanceKeyValueRenderer implements IPropertyValueRenderer {
canRender(record: PropertyRecord): boolean;
render(record: PropertyRecord, context?: PropertyValueRendererContext): import("react/jsx-runtime").JSX.Element;
}
//# sourceMappingURL=InstanceKeyValueRenderer.d.ts.map