UNPKG

1.13 kBTypeScriptView Raw
1import * as React from 'react';
2import { NavContext } from './Nav';
3export interface NavListProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement> {
4 /** Children nodes */
5 children?: React.ReactNode;
6 /** Additional classes added to the list */
7 className?: string;
8 /** Aria-label for the left scroll button */
9 ariaLeftScroll?: string;
10 /** Aria-label for the right scroll button */
11 ariaRightScroll?: string;
12}
13export declare class NavList extends React.Component<NavListProps> {
14 static displayName: string;
15 static contextType: React.Context<import("./Nav").NavContextProps>;
16 context: React.ContextType<typeof NavContext>;
17 static defaultProps: NavListProps;
18 state: {
19 scrollViewAtStart: boolean;
20 scrollViewAtEnd: boolean;
21 };
22 navList: React.RefObject<HTMLUListElement>;
23 observer: any;
24 handleScrollButtons: () => void;
25 scrollLeft: () => void;
26 scrollRight: () => void;
27 componentDidMount(): void;
28 componentWillUnmount(): void;
29 render(): JSX.Element;
30}
31//# sourceMappingURL=NavList.d.ts.map
\No newline at end of file