Skip to content

Commit

Permalink
Release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TimotheeVille committed Dec 11, 2020
1 parent 5606537 commit 2d9087a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/GherkinEditor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/GherkinEditor.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-gherkin-editor",
"version": "2.0.7",
"version": "2.1.0",
"main": "build/GherkinEditor.js",
"author": "SmartBear Software",
"license": "UNLICENSED",
Expand Down
5 changes: 2 additions & 3 deletions src/components/GherkinEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import './theme/jira'
import './theme/c4j'

const GherkinEditor = (props) => {
const [height, setHeight] = useState(initialHeight)
const [height, setHeight] = useState(props.initialHeight)
const {
initialValue,
language,
Expand All @@ -27,8 +27,7 @@ const GherkinEditor = (props) => {
autoCompleteFunction,
onLanguageChange,
autoFocus,
theme,
initialHeight
theme
} = props
let aceEditorRef = null

Expand Down

0 comments on commit 2d9087a

Please sign in to comment.