Skip to content

Commit

Permalink
fix: missing image, numbering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jun 28, 2024
1 parent 8ee698c commit 5a12ba2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/tools/design/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,18 +221,18 @@ css`

## Develop aelfd component

1. ### According to the component design draft, identify the differences with the antd component
### 1. According to the component design draft, identify the differences with the antd component

![img](https://hoopox.feishu.cn/space/api/box/stream/download/asynccode/?code=OWY0Yjc4MGRlMjY5ZWIzOTFmMWFlMWVlNjE2NmUyNGFfcTM4dWUyTkhLYTBQVG1pSjhjWkVhVzNhaGIxazJoRFpfVG9rZW46Q0x6S2JwTlZRb2pDdVV4TU5mWGNVd2ZEbllnXzE3MTc3MzA0OTE6MTcxNzczNDA5MV9WNA)
![img](/img/aelf-design-sizes.jpeg)

1. 5 size types need to be provided, antd has 3
2. Different sizes of height, padding, rounded corners, font size, and minimum width are different

3. ### List the new features based on the antd component
### 2. List the new features based on the antd component

4. Provide optional throttle click function
1. Provide optional throttle click function

5. ### Configure token
### 3. Configure token

Component tokens required to configure this component, global tokens (pay attention to whether it will affect other components), and custom tokens.

Expand Down Expand Up @@ -262,7 +262,7 @@ Component tokens required to configure this component, global tokens (pay attent
theme?: ThemeConfig | GetAntdTheme;
```

4. ### Define aelfd component type file
### 4. Define aelfd component type file

```TypeScript
export type AelfdButtonSizeType =
Expand All @@ -279,7 +279,7 @@ export interface IAelfdButtonProps
}
```

5. ### Writing component logic and style files
### 5. Writing component logic and style files

```TypeScript
const useStyles = createStyles(
Expand Down
Binary file added static/img/aelf-design-sizes.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5a12ba2

Please sign in to comment.