README
React-Yaml
Yaml input field with validation and syntax highlighting as React Component
Install
npm i --save @focus-reactive/react-yaml
yarn add @focus-reactive/react-yaml
Usage
const obj = { foo: 'bar' };
const handleChange = (value) => {
console.log(value);
// { foo: 'bar' }
}
return <YamlEditor value={obj} onChange={handleChange} />
Features
tbd
Credits
Created with ❤︎ to React and Open Source community by Oleg Proskurin at FocusReactive
2021