UNPKG

@grandlinex/react-components

Version:
14 lines (13 loc) 510 B
import React from 'react'; import { InputOptionItem } from '../../../components'; import { MenuItemInterface } from './PanelMenuItem'; export type SidePanelNavigationProps = { headerText: string; searchText: string; getter: (sel: string) => Promise<MenuItemInterface[]>; itemList: InputOptionItem[]; defaultOnClick?: (key: string) => void; autoFocus?: boolean; }; declare function SidePanelNavigation(props: SidePanelNavigationProps): React.JSX.Element; export { SidePanelNavigation };