Skip to content

Commit 15bf1d0

Browse files
committed
Basic styling
1 parent e4567c9 commit 15bf1d0

17 files changed

+1834
-240
lines changed

example/bundle.js

Lines changed: 866 additions & 111 deletions
Large diffs are not rendered by default.

example/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/example.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import {Selector} from '../lib';
2-
import * as Lib from '../lib';
1+
import {Selector, Rating} from '../lib';
32
import * as React from 'react';
43
import * as ReactDOM from 'react-dom';
54

65
// feel free to change these :)
7-
const suggestions = ["watching", "quiz", "stop it", "nice one", "learn", "no", "read", "work"];
6+
const suggestions = ["watching", "quiz", "stop it", "nice one", "learning", "reading", "working"];
87

98
interface IExampleProps {
109
suggestions: string[];
@@ -63,7 +62,7 @@ class ExampleApp extends React.Component<IExampleProps, IExampleState> {
6362

6463
return (
6564
<div>
66-
<Selector apiKey={apiKey} suggestions={suggestions} onGifSelected={this.onGifSelected}/>
65+
<Selector apiKey={apiKey} suggestions={suggestions} onGifSelected={this.onGifSelected} rating={Rating.G}/>
6766
</div>
6867
);
6968
}

0 commit comments

Comments
 (0)