Add missing proptype and default value
parent
4715fe8f48
commit
0fff524ed7
|
@ -40,6 +40,7 @@ const EmojiDefaultProps = {
|
||||||
|
|
||||||
const PickerPropTypes = {
|
const PickerPropTypes = {
|
||||||
onClick: PropTypes.func,
|
onClick: PropTypes.func,
|
||||||
|
onSelect: PropTypes.func,
|
||||||
onSkinChange: PropTypes.func,
|
onSkinChange: PropTypes.func,
|
||||||
perLine: PropTypes.number,
|
perLine: PropTypes.number,
|
||||||
emojiSize: PropTypes.number,
|
emojiSize: PropTypes.number,
|
||||||
|
@ -74,6 +75,7 @@ const PickerPropTypes = {
|
||||||
|
|
||||||
const PickerDefaultProps = {
|
const PickerDefaultProps = {
|
||||||
onClick: () => {},
|
onClick: () => {},
|
||||||
|
onSelect: () => {},
|
||||||
onSkinChange: () => {},
|
onSkinChange: () => {},
|
||||||
emojiSize: 24,
|
emojiSize: 24,
|
||||||
perLine: 9,
|
perLine: 9,
|
||||||
|
|
Loading…
Reference in New Issue