refactor, add code comment

release
Nolan Lawson 2019-03-10 10:57:43 -07:00
parent e77c63bc9a
commit f3cff33eda
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,6 @@ import { Picker } from 'emoji-mart'
search: 'Search', search: 'Search',
notfound: 'No Emoji Found', notfound: 'No Emoji Found',
skintext: 'Choose your default skin tone', skintext: 'Choose your default skin tone',
categorieslabel: 'Emoji categories', // Accessible title for the list of categories
categories: { categories: {
search: 'Search Results', search: 'Search Results',
recent: 'Frequently Used', recent: 'Frequently Used',
@ -73,7 +72,8 @@ categories: {
symbols: 'Symbols', symbols: 'Symbols',
flags: 'Flags', flags: 'Flags',
custom: 'Custom', custom: 'Custom',
} },
categorieslabel: 'Emoji categories', // Accessible title for the list of categories
``` ```
#### Sheet sizes #### Sheet sizes

View File

@ -20,7 +20,6 @@ const I18N = {
search: 'Search', search: 'Search',
notfound: 'No Emoji Found', notfound: 'No Emoji Found',
skintext: 'Choose your default skin tone', skintext: 'Choose your default skin tone',
categorieslabel: 'Emoji categories',
categories: { categories: {
search: 'Search Results', search: 'Search Results',
recent: 'Frequently Used', recent: 'Frequently Used',
@ -34,6 +33,7 @@ const I18N = {
flags: 'Flags', flags: 'Flags',
custom: 'Custom', custom: 'Custom',
}, },
categorieslabel: 'Emoji categories', // Accessible title for the list of categories
} }
export default class NimblePicker extends React.PureComponent { export default class NimblePicker extends React.PureComponent {