Skip to content

Latest commit

 

History

History
133 lines (95 loc) · 1.87 KB

README.md

File metadata and controls

133 lines (95 loc) · 1.87 KB

Form Mobile

English | 中文

English

Form Mobile is a modern UI Framework built with React and TypeScript, designed to provide a seamless mobile form experience.

Features

  • 🚀 Built with React and TypeScript
  • 📱 Mobile-first design
  • 🎨 Customizable components
  • 🔧 Easy to integrate
  • 📦 Lightweight and efficient

Installation

npm install @codingapi/form-mobile
# or
yarn add @codingapi/form-mobile

Peer Dependencies

This package requires React and ReactDOM as peer dependencies:

{
  "peerDependencies": {
    "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
    "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
  }
}

Usage

import { Form } from '@codingapi/form-mobile';

function App() {
  return (
    <Form>
      {/* Your form components */}
    </Form>
  );
}

Development

# Install dependencies
yarn install

# Build the package
yarn build

# Publish to npm
yarn push

License

Apache-2.0


Chinese

Form Mobile 是一个基于 React 和 TypeScript 构建的现代化 UI 框架,旨在提供流畅的移动端表单体验。

特性

  • 🚀 基于 React 和 TypeScript 构建
  • 📱 移动优先设计
  • 🎨 可自定义组件
  • 🔧 易于集成
  • 📦 轻量高效

安装

npm install @codingapi/form-mobile
#
yarn add @codingapi/form-mobile

依赖要求

本包需要 React 和 ReactDOM 作为对等依赖:

{
  "peerDependencies": {
    "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
    "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
  }
}

使用方法

import { Form } from '@codingapi/form-mobile';

function App() {
  return (
    <Form>
      {/* 你的表单组件 */}
    </Form>
  );
}

开发

# 安装依赖
yarn install

# 构建包
yarn build

# 发布到 npm
yarn push

许可证

Apache-2.0