From f3cff33edafbe6ddb91d3882c55d2ebf8bedb5bb Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 10 Mar 2019 10:57:43 -0700 Subject: [PATCH] refactor, add code comment --- README.md | 4 ++-- src/components/picker/nimble-picker.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e9585e6..a2b3ff8 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,6 @@ import { Picker } from 'emoji-mart' search: 'Search', notfound: 'No Emoji Found', skintext: 'Choose your default skin tone', -categorieslabel: 'Emoji categories', // Accessible title for the list of categories categories: { search: 'Search Results', recent: 'Frequently Used', @@ -73,7 +72,8 @@ categories: { symbols: 'Symbols', flags: 'Flags', custom: 'Custom', -} +}, +categorieslabel: 'Emoji categories', // Accessible title for the list of categories ``` #### Sheet sizes diff --git a/src/components/picker/nimble-picker.js b/src/components/picker/nimble-picker.js index dbe552d..d075061 100644 --- a/src/components/picker/nimble-picker.js +++ b/src/components/picker/nimble-picker.js @@ -20,7 +20,6 @@ const I18N = { search: 'Search', notfound: 'No Emoji Found', skintext: 'Choose your default skin tone', - categorieslabel: 'Emoji categories', categories: { search: 'Search Results', recent: 'Frequently Used', @@ -34,6 +33,7 @@ const I18N = { flags: 'Flags', custom: 'Custom', }, + categorieslabel: 'Emoji categories', // Accessible title for the list of categories } export default class NimblePicker extends React.PureComponent {