@expofp/floorplan
Version:
Interactive floor plan library for expos and events
38 lines • 1.37 kB
TypeScript
import './WayfindingTemplate.scss';
import React from 'react';
import type { AutocompleteOptionObject } from '../ui/Autocomplete';
import type { WayfindingFloorSelectorProps } from '../ui/WayfindingFloorSelector';
import { type WayInformationItem } from './WayInformation';
export interface WayfindingTemplateProps {
options: AutocompleteOptionObject[];
fromValue?: AutocompleteOptionObject;
toValue?: AutocompleteOptionObject;
showForm?: boolean;
showInfo?: boolean;
showAccessible?: boolean;
onlyAccessible?: boolean;
routeFound?: boolean;
infoItems?: WayInformationItem[];
infoAccessible: boolean;
floors?: WayfindingFloorSelectorProps['floors'];
currentFloor?: {
id: number;
name: string;
};
routeUrl?: string;
isKiosk?: boolean;
onChangeFrom?: (val: AutocompleteOptionObject | undefined) => void;
onChangeTo?: (val: AutocompleteOptionObject | undefined) => void;
onSwitch?: () => void;
onClickInfo?: () => void;
onClickFloor?: (data: {
id: number;
name: string;
}) => void;
onAccessibleCheck: (checked: boolean) => void;
showDetailsIcon?: boolean;
onDetailsIconClick?: () => void;
}
declare const WayfindingTemplate: React.FC<WayfindingTemplateProps>;
export default WayfindingTemplate;
//# sourceMappingURL=WayfindingTemplate.d.ts.map