UNPKG

@hackplan/polaris

Version:

Shopify’s product component library

17 lines (16 loc) 476 B
import React from 'react'; import { Section, Item } from './components'; import { SectionType } from './types'; export interface Props { location: string; sections?: SectionType[]; children?: React.ReactNode; contextControl?: React.ReactNode; iconOnly?: boolean; onDismiss?(): void; } export default class Navigation extends React.Component<Props, never> { static Item: typeof Item; static Section: typeof Section; render(): JSX.Element; }