🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

custom-antd

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-antd

An Ant Design 2.7.0 UI select component

latest
Source
npmnpm
Version
0.0.18
Version published
Weekly downloads
26
333.33%
Maintainers
1
Weekly downloads
 
Created
Source

custom-antd

#一、 what 单独 fork ant-design-2.7.0中的select组件

custom-antd,来自ant-design 官网

因 无法fork ant-design 2.7.0版本,故上传从 https://github.com/ant-design/ant-design/releases?after=2.7.1 下载 2.7.0 版本,各位看友周知;

另外,可以参看 https://github.com/ant-design/ant-design/tree/2.7.0

MySelect 既是对原生 /ant-design-2.7.0/components/select/index.tsx 的单独包装;

custom-antd.d.ts

export { default as Select } from '../components/select';

#二、 how

打包 走 tsc,不走webpack;

在package.json 中更改对应的 版本号,然后 在工程根目录下 执行 npm tsc,最后再执行 npm publish 发布到 npmjs上;

FAQs

Package last updated on 31 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts