import "./PropertyGridContent.scss"; import type { ReactNode } from "react"; import type { PropertyCategory, PropertyUpdatedArgs } from "@itwin/components-react"; import type { IModelConnection } from "@itwin/core-frontend"; import type { IPresentationPropertyDataProvider } from "@itwin/presentation-components"; import type { OmitOverUnion } from "@itwin/presentation-shared"; import type { PropertyGridActionButtonRenderer } from "../hooks/UseActionButtons.js"; import type { ContextMenuProps } from "../hooks/UseContextMenu.js"; import type { FilteringPropertyGridProps } from "./FilteringPropertyGrid.js"; import type { SettingsMenuProps } from "./SettingsDropdownMenu.js"; /** * Arguments for the `onPropertyUpdated` callback. * @public */ export type PropertyGridPropertyUpdatedArgs = PropertyUpdatedArgs & { /** Data provider used by property grid. */ dataProvider: IPresentationPropertyDataProvider; }; /** * Base props for rendering `PropertyGridContent` component. * @public */ export type PropertyGridContentBaseProps = OmitOverUnion & { imodel: IModelConnection; className?: string; onBackButton?: () => void; headerControls?: ReactNode; onPropertyUpdated?: (args: PropertyGridPropertyUpdatedArgs, category: PropertyCategory) => Promise; dataProvider: IPresentationPropertyDataProvider; dataRenderer?: (props: FilteringPropertyGridProps) => ReactNode; actionButtonRenderers?: PropertyGridActionButtonRenderer[]; }; /** * Props for `PropertyGridContent` component. * @public */ export type PropertyGridContentProps = PropertyGridContentBaseProps & ContextMenuProps & SettingsMenuProps; /** * Component that renders property grid with header and context menu. * @internal */ export declare function PropertyGridContent({ dataProvider, imodel, contextMenuItems, className, onBackButton, headerControls, settingsMenuItems, dataRenderer, onPropertyUpdated, actionButtonRenderers, ...props }: PropertyGridContentProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=PropertyGridContent.d.ts.map