Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/src/interfaces/NavigationComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ export class NavigationComponent<Props = {}, State = {}, Snapshot = any> extends
State,
Snapshot
> {
static options?: (() => Options) | Options;
/**
* Options used to apply a style configuration when the screen appears.
*
* This field can either contain the concrete options to be applied, or a generator function
* which accepts props and returns an Options object.
*/
static options: ((props?: any) => Options) | Options;

componentDidAppear(_event: ComponentDidAppearEvent) {}
componentDidDisappear(_event: ComponentDidDisappearEvent) {}
Expand Down