From 070663d9c3549707e6acefd8f7a012fab8990015 Mon Sep 17 00:00:00 2001 From: benno5020 <52607214+benno5020@users.noreply.github.com> Date: Wed, 10 Jun 2020 16:37:02 +0200 Subject: [PATCH] Update api.md (correct entry for menuPosition) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 8d35e46..12e7929 100644 --- a/docs/api.md +++ b/docs/api.md @@ -11,7 +11,7 @@ sidebar: auto |`picker`| 'wheel' \| 'square' | 'wheel' | chose between pickers style | |`value` | a valid color string |'#000' | the initial color value | |`model` | 'rgb' \| 'hex' \| 'hsl' | 'rgb' | the output color model | -|`menuPosition` | 'top' \| 'bottom' \| 'left' \| 'right' \| 'center' | 'bottom' | the output color model | +|`menuPosition` | 'top' \| 'bottom' \| 'left' \| 'right' \| 'center' | 'bottom' | the menu position in display mode: 'picker' | |`showHistory` | boolean | true | show a list of the recent colors at the bottom of the picker | | `colorHistory` | `string[]` | `null` | a list of strings representing color values. If provided it will isolate the picker from other pickers and it will maintain its own list. | |`display` | String | 'vertical' | controls the layout of the component. [List of allowed values](#display-modes). |