0.3.2 • Published 5 years ago

react-vtl-editor v0.3.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

react-vtl-editor

A react VTL editor

Build Status Coverage Status

The documentation can be found in the docs folder and browsed online.

Storybook is also available online.

Usage

import React, { useState } from 'react';
import { VtlEditor } from 'react-vtl-editor';

const MyComponent = () => {
	const [value, setValue] = useState('');
	const [valid, setValid] = useState(true);
	return (
		<>
			<VtlEditor handleValue={setValue} handleValid={setValid} />
			<div>{`My expression text : ${value}`}</div>
			<div>{`Is my expression valid : ${valid}`}</div>
		</>
	);
};

export default MyComponent;

How to improve the library locally

In order to avoid some errors with the React library and your React application (two versions of React loaded by browser), you should not use the npm link command. You should prefer the npm pack command. You should have a look to this blog post for more informations.

Todo

  • work on UI customization of the component
0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.12

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago