fee-pg / antd-tag-input

https://stackblitz.com/edit/react-ts-sojbv3?file=index.tsx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub package.json version npm npm bundle size

Install

npm i antd-tag-input
// or
yarn add antd-tag-input

Usage

import TagInput from 'antd-tag-input';
import 'antd-tag-input/dist/style.css';

Options

参数 说明 类型 默认值
value 输入框内容 string[] []
onChange 输入框内容变化时的回调 (value: string[]) => void -
className 类名 string -
style 内敛样式 React.CSSProperties => void -

About

https://stackblitz.com/edit/react-ts-sojbv3?file=index.tsx

License:MIT License


Languages

Language:TypeScript 92.7%Language:HTML 4.6%Language:Less 2.6%