mirror of
				https://github.com/antd-tiny-vue/antd-tiny-vue.git
				synced 2025-10-31 16:51:45 +08:00 
			
		
		
		
	feat: add info
This commit is contained in:
		
							
								
								
									
										25
									
								
								components/button/demo/basic.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								components/button/demo/basic.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| <docs lang="zh-CN"> | ||||
| --- | ||||
| title: 按钮类型 | ||||
| --- | ||||
|  | ||||
| 按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。 | ||||
| </docs> | ||||
|  | ||||
| <docs lang="en-US"> | ||||
| --- | ||||
| title: Type | ||||
| --- | ||||
|  | ||||
| There are `primary` button, `default` button, `dashed` button, `text` button and `link` button in antd. | ||||
| </docs> | ||||
|  | ||||
| <script setup lang="ts"></script> | ||||
|  | ||||
| <template> | ||||
|   <a-button type="primary">Primary Button</a-button> | ||||
|   <a-button>Default Button</a-button> | ||||
|   <a-button type="dashed">Dashed Button</a-button> | ||||
|   <a-button type="text">Text Button</a-button> | ||||
|   <a-button type="link">Link Button</a-button> | ||||
| </template> | ||||
		Reference in New Issue
	
	Block a user