From 042c381d3e9d29be3e02a57d568e91ba2d6fc094 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Mon, 11 Jul 2016 14:08:41 -0400 Subject: [PATCH] Support inline picker style --- src/components/picker.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/picker.js b/src/components/picker.js index 6f51b67..002652e 100644 --- a/src/components/picker.js +++ b/src/components/picker.js @@ -187,11 +187,11 @@ export default class Picker extends React.Component { } render() { - var { perLine, emojiSize, sheetURL } = this.props, + var { perLine, emojiSize, sheetURL, style } = this.props, { skin } = this.state, width = (perLine * (emojiSize + 12)) + 12 + 2 - return
+ return
{}), emojiSize: 24, perLine: 9, + style: {}, skin: 1, }