list-component-examples
Retrieve code examples for specific Ant Design components to implement features or understand usage. Input the component name to generate relevant code snippets.
Instructions
获取 Ant Design 特定组件的代码示例 适用场景:
用户询问特定组件的示例时
用户想要实现某个功能时直接告知可使用的例子
生成页面前需要获取组件的示例代码
Input Schema
Name | Required | Description | Default |
---|---|---|---|
componentName | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"componentName": {
"type": "string"
}
},
"required": [
"componentName"
],
"type": "object"
}