diff --git a/snippets/Select.md b/snippets/Select.md index 1367e4d86..9cb892633 100644 --- a/snippets/Select.md +++ b/snippets/Select.md @@ -9,12 +9,12 @@ Use the `values` array to pass an array of `[value, text]` elements and the `sel ```jsx function Select ({ values, callback, disabled = false, readonly = false, selected }) { return ( - callback(value)} > - {values.map(v => )} + {values.map(([value, text]) => )} ); }