1
- # @rc-component/trigger
1
+ # @ant-design/v5-patch-for-react-19
2
2
3
3
React Trigger Component
4
4
@@ -9,50 +9,35 @@ React Trigger Component
9
9
[ ![ bundle size] [ bundlephobia-image ]] [ bundlephobia-url ]
10
10
[ ![ dumi] [ dumi-image ]] [ dumi-url ]
11
11
12
- [ npm-image ] : http://img.shields.io/npm/v/@rc-component/trigger .svg?style=flat-square
13
- [ npm-url ] : http://npmjs.org/package/@rc-component/trigger
14
- [ github-actions-image ] : https://github.com/react-component/trigger /workflows/CI/badge.svg
15
- [ github-actions-url ] : https://github.com/react-component/trigger /actions
16
- [ circleci-image ] : https://img.shields.io/circleci/react-component/trigger /master?style=flat-square
17
- [ circleci-url ] : https://circleci.com/gh/react-component/trigger
18
- [ codecov-image ] : https://img.shields.io/codecov/c/github/react-component/trigger /master.svg?style=flat-square
19
- [ codecov-url ] : https://app.codecov.io/gh/react-component/trigger
20
- [ david-url ] : https://david-dm.org/react-component/trigger
21
- [ david-image ] : https://david-dm.org/react-component/trigger /status.svg?style=flat-square
22
- [ david-dev-url ] : https://david-dm.org/react-component/trigger ?type=dev
23
- [ david-dev-image ] : https://david-dm.org/react-component/trigger /dev-status.svg?style=flat-square
24
- [ download-image ] : https://img.shields.io/npm/dm/@rc-component/trigger .svg?style=flat-square
25
- [ download-url ] : https://npmjs.org/package/@rc-component/trigger
26
- [ bundlephobia-url ] : https://bundlephobia.com/result?p=@rc-component/trigger
27
- [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/@rc-component/trigger
12
+ [ npm-image ] : http://img.shields.io/npm/v/@ant-design/v5-patch-for-react-19 .svg?style=flat-square
13
+ [ npm-url ] : http://npmjs.org/package/@ant-design/v5-patch-for-react-19
14
+ [ github-actions-image ] : https://github.com/ant-design/v5-patch-for-react-19 /workflows/CI/badge.svg
15
+ [ github-actions-url ] : https://github.com/ant-design/v5-patch-for-react-19 /actions
16
+ [ circleci-image ] : https://img.shields.io/circleci/ant-design/v5-patch-for-react-19 /master?style=flat-square
17
+ [ circleci-url ] : https://circleci.com/gh/ant-design/v5-patch-for-react-19
18
+ [ codecov-image ] : https://img.shields.io/codecov/c/github/ant-design/v5-patch-for-react-19 /master.svg?style=flat-square
19
+ [ codecov-url ] : https://app.codecov.io/gh/ant-design/v5-patch-for-react-19
20
+ [ david-url ] : https://david-dm.org/ant-design/v5-patch-for-react-19
21
+ [ david-image ] : https://david-dm.org/ant-design/v5-patch-for-react-19 /status.svg?style=flat-square
22
+ [ david-dev-url ] : https://david-dm.org/ant-design/v5-patch-for-react-19 ?type=dev
23
+ [ david-dev-image ] : https://david-dm.org/ant-design/v5-patch-for-react-19 /dev-status.svg?style=flat-square
24
+ [ download-image ] : https://img.shields.io/npm/dm/@ant-design/v5-patch-for-react-19 .svg?style=flat-square
25
+ [ download-url ] : https://npmjs.org/package/@ant-design/v5-patch-for-react-19
26
+ [ bundlephobia-url ] : https://bundlephobia.com/result?p=@ant-design/v5-patch-for-react-19
27
+ [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/@ant-design/v5-patch-for-react-19
28
28
[ dumi-image ] : https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
29
29
[ dumi-url ] : https://github.com/umijs/dumi
30
30
31
31
## Install
32
32
33
- [ ![ @rc-component/trigger ] ( https://nodei.co/npm/@rc-component/trigger .png )] ( https://npmjs.org/package/@rc-component/trigger )
33
+ [ ![ @ant-design/v5-patch-for-react-19 ] ( https://nodei.co/npm/@ant-design/v5-patch-for-react-19 .png )] ( https://npmjs.org/package/@ant-design/v5-patch-for-react-19 )
34
34
35
35
## Usage
36
36
37
- Include the default [ styling] ( https://github.com/react-component/trigger /blob/master/assets/index.less#L4:L11 ) and then:
37
+ Include the default [ styling] ( https://github.com/ant-design/v5-patch-for-react-19 /blob/master/assets/index.less#L4:L11 ) and then:
38
38
39
39
``` js
40
- import React from ' react' ;
41
- import ReactDOM from ' react-dom' ;
42
- import Trigger from ' @rc-component/trigger' ;
43
-
44
- ReactDOM .render ((
45
- < Trigger
46
- action= {[' click' ]}
47
- popup= {< span> popup< / span> }
48
- popupAlign= {{
49
- points: [' tl' , ' bl' ],
50
- offset: [0 , 3 ]
51
- }}
52
- >
53
- < a href= ' #' > hover< / a>
54
- < / Trigger>
55
- ), container);
40
+ import ' @ant-design/v5-patch-for-react-19' ;
56
41
```
57
42
58
43
## Compatibility
@@ -65,7 +50,7 @@ ReactDOM.render((
65
50
66
51
http://localhost:9001
67
52
68
- online example: http://react-component .github.io/trigger/
53
+ online example: http://ant-design .github.io/trigger/
69
54
70
55
## Development
71
56
0 commit comments