cnd-components-mcp
Version:
An MCP service for Cnd components query | 一个减少 Cnd 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询
44 lines (40 loc) • 576 B
Markdown
## 示例
```tsx
import React from 'react';
import { Pagination } from '@alicloud/console-components';
const handlePageSizeChange = (size: number) => {
console.log(size);
};
export default function App() {
return (
<Pagination defaultCurrent={2} onChange={handlePageSizeChange} showJump />
);
}
export const meta = {
title: '翻页+跳转',
describe: '设置showJump为true,显示跳转页码输入框。',
};
```
## 更多示例
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```
```tsx
```