1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add typings for eslint

This commit is contained in:
checktheroads
2021-01-03 23:51:09 -07:00
parent 14b62bd8e1
commit 6ffbf95abd
90 changed files with 1637 additions and 416 deletions

View File

@@ -15,7 +15,7 @@ import { Chart } from './chart';
import type { TPath } from './types';
export const Path = (props: TPath) => {
export const Path: React.FC<TPath> = (props: TPath) => {
const { device } = props;
const { displayTarget } = useLGState();
const { getResponse } = useLGMethods();
@@ -33,7 +33,8 @@ export const Path = (props: TPath) => {
bg={bg}
mt={{ base: 4, lg: '' }}
maxH={{ base: '80%', lg: '60%' }}
maxW={{ base: '100%', lg: '80%' }}>
maxW={{ base: '100%', lg: '80%' }}
>
<ModalHeader>{`Path to ${displayTarget.value}`}</ModalHeader>
<ModalCloseButton />
<ModalBody>