Skip to content

Commit

Permalink
Copied over system item typing and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grahammendick committed Aug 21, 2018
1 parent 1f7513f commit ca1a4ba
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions build/npm/navigation-react-native/navigation.react.native.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ export function addNavigateHandlers(stateNavigator: StateNavigator | StateNaviga
* Defines the Scene Props contract
*/
export interface SceneProps {
/**
* The location of the scene in the stack
*/
crumb?: number;
/**
* Renders the scene for the State and data
*/
renderScene?: (state: State, data: any) => ReactNode;
}

Expand All @@ -35,8 +41,24 @@ export class RightBarIOS extends Component { }
* Defines the Bar Button Props contract
*/
export interface BarButtonIOSProps {
/**
* The button title
*/
title?: string;
/**
* The button image
*/
image?: ImageURISource;
/**
* The button system item
*/
systemItem?: 'done' | 'cancel' | 'edit' | 'save' | 'add' | 'flexibleSpace'
| 'fixedSpace' | 'compose' | 'reply' | 'action' | 'organize'
| 'bookmarks' | 'search' | 'refresh' | 'stop' | 'camera'
| 'trash' | 'play' | 'pause' | 'rewind' | 'fastForward';
/**
* Handles button click events
*/
onPress?: () => void;
}

Expand Down

0 comments on commit ca1a4ba

Please sign in to comment.