UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

38 lines 1.46 kB
import * as React from 'react'; import { NavContext } from './Nav'; export interface NavListProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement> { /** Children nodes */ children?: React.ReactNode; /** Additional classes added to the list */ className?: string; /** @deprecated Please use backScrollAriaLabel. Aria-label for the left scroll button */ ariaLeftScroll?: string; /** @deprecated Please use forwardScrollAriaLabel. Aria-label for the right scroll button */ ariaRightScroll?: string; /** Aria-label for the back scroll button */ backScrollAriaLabel?: string; /** Aria-label for the forward scroll button */ forwardScrollAriaLabel?: string; } declare class NavList extends React.Component<NavListProps> { static displayName: string; static contextType: React.Context<import("./Nav").NavContextProps>; context: React.ContextType<typeof NavContext>; static defaultProps: NavListProps; private direction; state: { scrollViewAtStart: boolean; scrollViewAtEnd: boolean; }; navList: React.RefObject<HTMLUListElement>; observer: any; handleScrollButtons: () => void; scrollBack: () => void; scrollForward: () => void; componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(): void; render(): React.JSX.Element; } export { NavList }; //# sourceMappingURL=NavList.d.ts.map