Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sinoform/comp-config-item

tianyanqiu384MIT1.17.0TypeScript support: included

表单字段项配置布局组件。

readme

@sinoform/comp-config-item

表单字段项配置布局组件。

安装

yarn add @sinoform/comp-config-item

使用

import { TextInput, Label, Form } from '@sinoui/sinoui-components-forms';
import ConfigItem from '@sinoform/comp-config-item';

function SimpleDemo() {
  return (
    <Form>
      <ConfigItem>
        <Label>用户名</Label>
        <TextInput />
      </ConfigItem>
    </Form>
  );
}