AdrianMachado / KaiUI

React component library for KaiOS apps
MIT License
187 stars 39 forks source link

Fixes parsing error #33

Closed aidenscott2016 closed 4 years ago

aidenscott2016 commented 4 years ago
Failed to compile.

./src/components/TextInput/TextInput.jsx
  Line 19:11:  Parsing error: Rest element must be last element

  17 |   enableTabSwitching,
  18 |   initialValue,
> 19 |   ...props,
     |           ^
  20 | }) => {
  21 |   const [isFocused, setIsFocused] = useState(false);
  22 |   const [caretPosition, setCaretPosition] = useState(0);
$ yarn -v
1.3.2
$ node -v
v12.14.0
AdrianMachado commented 4 years ago

You can go ahead and merge

aidenscott2016 commented 4 years ago

@AdrianMachado Thanks, but I don't have write access here