@@ -20,82 +20,32 @@ If you want specific control over the positioning and placement of the `Icon`, t
20
20
</docs >
21
21
22
22
<template >
23
- <a-button type =" primary" shape =" circle" >
24
- <template #icon ><SearchOutlined /></template >
25
- </a-button >
26
- <a-button type =" primary" shape =" circle" >A</a-button >
27
- <a-button type =" primary" >
28
- <template #icon ><SearchOutlined /></template >
29
- Search
30
- </a-button >
31
- <a-button shape =" circle" >
32
- <template #icon ><SearchOutlined /></template >
33
- </a-button >
34
- <a-button >
35
- <template #icon ><SearchOutlined /></template >
36
- Search
37
- </a-button >
38
- <a-button shape =" circle" >
39
- <template #icon ><SearchOutlined /></template >
40
- </a-button >
41
- <a-button >
42
- <template #icon ><SearchOutlined /></template >
43
- Search
44
- </a-button >
45
- <a-button type =" dashed" shape =" circle" >
46
- <template #icon ><SearchOutlined /></template >
47
- </a-button >
48
- <a-button type =" dashed" >
49
- <template #icon ><SearchOutlined /></template >
50
- Search
51
- </a-button >
52
- <a-button href =" https://www.google.com" >
53
- <template #icon ><SearchOutlined /></template >
54
- </a-button >
55
- <br />
56
- <br />
57
- <a-tooltip title =" search" >
58
- <a-button type =" primary" shape =" circle" size =" large" >
59
- <template #icon ><SearchOutlined /></template >
60
- </a-button >
61
- </a-tooltip >
62
- <a-button type =" primary" shape =" circle" size =" large" >A</a-button >
63
- <a-button type =" primary" size =" large" >
64
- <template #icon ><SearchOutlined /></template >
65
- Search
66
- </a-button >
67
- <a-tooltip title =" search" >
68
- <a-button shape =" circle" size =" large" >
69
- <template #icon ><SearchOutlined /></template >
70
- </a-button >
71
- </a-tooltip >
72
- <a-button size =" large" >
73
- <template #icon ><SearchOutlined /></template >
74
- Search
75
- </a-button >
76
- <br />
77
- <a-tooltip title =" search" >
78
- <a-button shape =" circle" size =" large" >
79
- <template #icon ><SearchOutlined /></template >
80
- </a-button >
81
- </a-tooltip >
82
- <a-button size =" large" >
83
- <template #icon ><SearchOutlined /></template >
84
- Search
85
- </a-button >
86
- <a-tooltip title =" search" >
87
- <a-button type =" dashed" shape =" circle" size =" large" >
88
- <template #icon ><SearchOutlined /></template >
89
- </a-button >
90
- </a-tooltip >
91
- <a-button type =" dashed" size =" large" >
92
- <template #icon ><SearchOutlined /></template >
93
- Search
94
- </a-button >
95
- <a-button size =" large" href =" https://www.google.com" >
96
- <template #icon ><SearchOutlined /></template >
97
- </a-button >
23
+ <a-space direction =" vertical" >
24
+ <a-space warp >
25
+ <a-tooltip title =" search" >
26
+ <a-button type =" primary" shape =" circle" :icon =" h(SearchOutlined)" />
27
+ </a-tooltip >
28
+ <a-button type =" primary" shape =" circle" >A</a-button >
29
+ <a-button type =" primary" :icon =" h(SearchOutlined)" >Search</a-button >
30
+ <a-tooltip title =" search" >
31
+ <a-button shape =" circle" :icon =" h(SearchOutlined)" />
32
+ </a-tooltip >
33
+ <a-button :icon =" h(SearchOutlined)" >Search</a-button >
34
+ </a-space >
35
+ <a-space warp >
36
+ <a-tooltip title =" search" >
37
+ <a-button shape =" circle" :icon =" h(SearchOutlined)" />
38
+ </a-tooltip >
39
+ <a-button :icon =" h(SearchOutlined)" >Search</a-button >
40
+ <a-tooltip title =" search" >
41
+ <a-button type =" dashed" shape =" circle" :icon =" h(SearchOutlined)" />
42
+ </a-tooltip >
43
+ <a-button type =" dashed" :icon =" h(SearchOutlined)" >Search</a-button >
44
+ <a-button :icon =" h(SearchOutlined)" href =" https://www.google.com" />
45
+ </a-space >
46
+ </a-space >
98
47
</template >
99
48
<script lang="ts" setup>
49
+ import { h } from ' vue' ;
100
50
import { SearchOutlined } from ' @ant-design/icons-vue' ;
101
51
</script >
0 commit comments