diff --git a/README.md b/README.md index d0a9ef0..b0128f3 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,6 @@ import { Picker } from 'emoji-mart' ```js search: 'Search', clear: 'Clear', // Accessible label on "clear" button -emojilist: 'List of emoji', // Accessible title for list of emoji notfound: 'No Emoji Found', skintext: 'Choose your default skin tone', categories: { diff --git a/src/components/picker/nimble-picker.js b/src/components/picker/nimble-picker.js index 7324ae3..736e92f 100644 --- a/src/components/picker/nimble-picker.js +++ b/src/components/picker/nimble-picker.js @@ -19,7 +19,6 @@ import { PickerDefaultProps } from '../../utils/shared-default-props' const I18N = { search: 'Search', clear: 'Clear', // Accessible label on "clear" button - emojilist: 'List of emoji', // Accessible title for list of emoji notfound: 'No Emoji Found', skintext: 'Choose your default skin tone', categories: { @@ -501,9 +500,10 @@ export default class NimblePicker extends React.PureComponent { width = perLine * (emojiSize + 12) + 12 + 2 + measureScrollbar() return ( -
@@ -530,10 +530,9 @@ export default class NimblePicker extends React.PureComponent { autoFocus={autoFocus} /> -
{this.getCategories().map((category, i) => { @@ -577,7 +576,7 @@ export default class NimblePicker extends React.PureComponent { /> ) })} -
+
{(showPreview || showSkinTones) && (
@@ -607,7 +606,7 @@ export default class NimblePicker extends React.PureComponent { />
)} -
+ ) } } diff --git a/src/components/preview.js b/src/components/preview.js index a4904b1..f908508 100644 --- a/src/components/preview.js +++ b/src/components/preview.js @@ -43,7 +43,7 @@ export default class Preview extends React.PureComponent { return (
-
+ -
+