diff --git a/example/package.json b/example/package.json index 678bced6..6ae2a142 100644 --- a/example/package.json +++ b/example/package.json @@ -15,7 +15,7 @@ "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject", - "predeploy": "npm run build", + "predeploy": "yarn build", "deploy": "gh-pages -d build" } } diff --git a/example/src/App.js b/example/src/App.js index 229a9c5e..2fff41c8 100644 --- a/example/src/App.js +++ b/example/src/App.js @@ -126,7 +126,7 @@ export default class App extends Component { className={effect === "float" ? "active" : ""} onClick={this.changeEffect.bind(this, "float")} > - Float(default) + Float{'(default)'} - d(`・∀・)b + {'d(`・∀・)b'} Show happy face @@ -209,12 +209,12 @@ export default class App extends Component {
- σ`∀´)σ + {'σ`∀´)σ'}
- (〃∀〃) + {'(〃∀〃)'}
@@ -263,7 +263,7 @@ export default class App extends Component { data-tip="custom show" data-event="click focus" > - ( •̀д•́) + {'( •̀д•́)'}
@@ -275,7 +275,7 @@ export default class App extends Component { data-event="click" data-event-off="dblclick" > - ( •̀д•́) + {'( •̀д•́)'} @@ -305,7 +305,7 @@ export default class App extends Component { data-for="custom-class" data-tip="hover on me will keep the tooltip" > - (・ω´・ ) + {'(・ω´・ )'}
- (・ω´・ ) + {'(・ω´・ )'}
@@ -362,7 +362,7 @@ export default class App extends Component {
- =( •̀д•́) + {'=( •̀д•́)'}
- =( •̀д•́) + {'=( •̀д•́)'} @@ -666,14 +666,13 @@ export default class App extends Component {

- When clickable property is set to true", tooltip - can respond to mouse (or touch) events." + When clickable property is set to true{', tooltip can respond to mouse (or touch) events.'}