xy-design-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i xy-design-react

Weekly Downloads

1

Version

1.0.5

License

none

Unpacked Size

67.1 kB

Total Files

20

Last publish

Collaborators

  • xiaoyu11111