UNPKG

baseui

Version:

A React Component library implementing the Base design language

22 lines (21 loc) 631 B
import * as React from 'react'; import type { NavigationProps, Item } from './types'; import type { SyntheticEvent } from 'react'; export default class SideNav extends React.Component<NavigationProps, { isFocusVisible: boolean; }> { static defaultProps: { activeItemId: string; activePredicate: any; items: any[]; overrides: {}; mapItem: any; }; state: { isFocusVisible: boolean; }; handleFocus: (event: SyntheticEvent) => void; handleBlur: (event: SyntheticEvent) => void; activePredicate: (item: Item) => boolean; render(): React.JSX.Element; }