1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
2020-11-03 01:51:41 -07:00

21 lines
487 B
TypeScript

namespace Chakra {
type ButtonProps = import('@chakra-ui/core').ButtonProps;
type CollapseProps = import('@chakra-ui/core').CollapseProps;
}
type TFooterSide = 'left' | 'right';
interface IFooterButton extends Chakra.ButtonProps {
side: TFooterSide;
href?: string;
}
interface IFooterContent extends Omit<Chakra.CollapseProps, 'children'> {
isOpen: boolean;
content: string;
side: TFooterSide;
children?: undefined;
}
type TFooterItems = 'help' | 'credit' | 'terms';