feat(ui): add type filter toggles
This commit is contained in:
45
node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts
generated
vendored
Normal file
45
node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
import { HTMLAttributes } from 'react';
|
||||
import type { PanelPosition } from '@xyflow/system';
|
||||
/**
|
||||
* @expand
|
||||
*/
|
||||
export type PanelProps = HTMLAttributes<HTMLDivElement> & {
|
||||
/**
|
||||
* The position of the panel.
|
||||
* @default "top-left"
|
||||
*/
|
||||
position?: PanelPosition;
|
||||
};
|
||||
/**
|
||||
* The `<Panel />` component helps you position content above the viewport.
|
||||
* It is used internally by the [`<MiniMap />`](/api-reference/components/minimap)
|
||||
* and [`<Controls />`](/api-reference/components/controls) components.
|
||||
*
|
||||
* @public
|
||||
*
|
||||
* @example
|
||||
* ```jsx
|
||||
*import { ReactFlow, Background, Panel } from '@xyflow/react';
|
||||
*
|
||||
*export default function Flow() {
|
||||
* return (
|
||||
* <ReactFlow nodes={[]} fitView>
|
||||
* <Panel position="top-left">top-left</Panel>
|
||||
* <Panel position="top-center">top-center</Panel>
|
||||
* <Panel position="top-right">top-right</Panel>
|
||||
* <Panel position="bottom-left">bottom-left</Panel>
|
||||
* <Panel position="bottom-center">bottom-center</Panel>
|
||||
* <Panel position="bottom-right">bottom-right</Panel>
|
||||
* </ReactFlow>
|
||||
* );
|
||||
*}
|
||||
*```
|
||||
*/
|
||||
export declare const Panel: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
||||
/**
|
||||
* The position of the panel.
|
||||
* @default "top-left"
|
||||
*/
|
||||
position?: PanelPosition;
|
||||
} & import("react").RefAttributes<HTMLDivElement>>;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,KAAK;IAhChB;;;OAGG;eACQ,aAAa;kDAsCzB,CAAC"}
|
||||
Reference in New Issue
Block a user