@focus-reactive/react-yaml

Yaml input field with validation and syntax highlighting as React Component

Usage no npm install needed!

<script type="module">
  import focusReactiveReactYaml from 'https://cdn.skypack.dev/@focus-reactive/react-yaml';
</script>

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

FocusReactive