UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

22 lines (21 loc) 587 B
import * as React from 'react'; export interface TopbarSimpleButtonData { title?: string; icon?: any; onPress?: () => void; href?: string; selected?: boolean; } export interface TopbarListButtonData { title?: string; items: Array<TopbarSimpleButtonData>; } export interface TopbarProps { leftButtonIcon?: any; leftButtonOnPress?: () => void; title: React.ReactNode | string; rightButtonsData?: Array<TopbarSimpleButtonData | TopbarListButtonData>; drawerOpen?: boolean; topbarContent?: React.ReactNode; disableGutters?: boolean; }