1.0.5 • Published 4 years ago

xy-design-react v1.0.5

Weekly downloads
25
License
-
Repository
github
Last release
4 years ago

XY Design React

Getting Started

Install,

$ npm i xy-design-react

Example,

import React, { useState } from 'react';
import { CodeEditor } from 'xy-design-react';

export default () => {
  const [value, setValue] = useState(`(() => {
return XYDesignReact
})()`);

  return (
    <CodeEditor
      theme="default"
      value={value}
      onChange={val => {
        setValue(val);
      }}
    />
  );
};

##组件链接

XYDesignReact

欢迎大家提交 pr,壮大组件库

组件开发

Install,

$ git clone https://github.com/xiaoyu11111/XYDesignReact.git
$ npm i
$ npm run start