From 0c69bc06cf5d227e8c51bd72bd5b559a2589b184 Mon Sep 17 00:00:00 2001 From: Samuel Edwin Date: Sat, 29 Jul 2017 14:51:43 +0700 Subject: [PATCH 1/2] complete missing API documentation --- docs/api/navigator-config.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/api/navigator-config.md b/docs/api/navigator-config.md index 8c0a6e06..6a35367b 100644 --- a/docs/api/navigator-config.md +++ b/docs/api/navigator-config.md @@ -180,11 +180,35 @@ type Button = { // ios-only style: 'plain' | 'default'; - systemItem: 'done' | 'cancel' | 'edit' | 'save' | 'add' | 'flexibleSpace' | 'compose' | 'reply' | 'action' | 'organize' | 'bookmarks' | 'search' | 'refresh' | 'stop' | 'camera' | 'trash' | 'play' | 'pause' | 'rewind' | 'fastForward' | 'undo' | 'redo' | 'pageCurl'; + systemItem: SystemItem; // android-only }; +type SystemItem = 'done' + | 'cancel' + | 'edit' + | 'save' + | 'add' + | 'flexibleSpace' + | 'compose' + | 'reply' + | 'action' + | 'organize' + | 'bookmarks' + | 'search' + | 'refresh' + | 'stop' + | 'camera' + | 'trash' + | 'play' + | 'pause' + | 'rewind' + | 'fastForward' + | 'undo' + | 'redo' + | 'pageCurl' + type NavigatorConfigProps = { // shared @@ -196,6 +220,9 @@ type NavigatorConfigProps = { rightTitle: string; rightImage: Image; rightButtons: Array