JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q6272F
  • License MIT

A ReactNative Component Library of CodoonFXD.

Package Exports

  • @codoonfxd/crn-elements

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@codoonfxd/crn-elements) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CRN-ELEMENTS

用于 React Native 的组件库,该组件库使用 Typescript 开发,提供了更方便的类型支持。

🔗 链接一览

⚙️ 安装

# 使用npm
npm install --save @codoonfxd/crn-elements

# 使用yarn
yarn add @codoonfxd/crn-elements

🎊 使用

注意:分为两种引入方式,推荐单独引入

// 引入时会将所有组件引入
import { Button } from '@codoonfxd/crn-elements';
// 单独引入(推荐)
import Button from '@codoonfxd/crn-elements/dist/Button';

export default () => {
  return <Button title="按钮" />;
};