Skip to content

Commit

Permalink
Merge pull request #6 from concludio/vnext
Browse files Browse the repository at this point in the history
Next version
  • Loading branch information
Khazuar authored Oct 30, 2019
2 parents 9e7c71c + 457c609 commit f8054c5
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 194 deletions.
72 changes: 1 addition & 71 deletions examples/example1/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 12 additions & 15 deletions examples/example1/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ class App extends React.Component<{}, State> {
public render() {
return (
<div>
<p>
MathField:
<MathFieldComponent
latex={this.state.latex}
onChange={this.onLatexChange}
/>
</p>
<p>
TextField:
<input
type="text"
value={this.state.latex}
onChange={ev => this.onLatexChange(ev.target.value)}
/>
</p>
MathField:
<MathFieldComponent
latex={this.state.latex}
onChange={this.onLatexChange}
/>
<br/>
TextField:
<input
type="text"
value={this.state.latex}
onChange={ev => this.onLatexChange(ev.target.value)}
/>
</div>
);
}
Expand Down
82 changes: 50 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-mathlive",
"version": "1.3.2",
"description": "A react wrapper-component for mathlive.js",
"version": "2.0.0",
"description": "An interactive math input for react.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
Expand Down Expand Up @@ -31,12 +31,12 @@
"@types/react-dom": "^16.0.11",
"coveralls": "^3.0.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"jest": "24.7.1",
"ts-jest": "^24.0.2",
"typescript": "^3.2.4"
},
"dependencies": {
"mathlive": ">= 0.32.1 < 1",
"mathlive": ">= 0.32.3 < 1",
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
Expand Down
Loading

0 comments on commit f8054c5

Please sign in to comment.