Browse Source
fix: replace deprecated Divider `type` prop with `orientation` (#11762)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
pull/11765/head
Alex Zhu
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
4 deletions
-
CLAUDE.md
-
src/components/Footer/index.tsx
|
|
|
@ -125,7 +125,7 @@ Each page directory contains its own index.tsx, optional service.ts, _mock.ts, d |
|
|
|
- `npx antd demo <Component> <name>` — get working demo code |
|
|
|
- `npx antd token <Component>` — check design tokens |
|
|
|
- `npx antd semantic <Component>` — check semantic classNames |
|
|
|
- `npx antd lint ./src` — find deprecated or problematic antd usage |
|
|
|
- `npx antd lint ./src` — find deprecated or problematic antd usage. **Must pass with zero errors and warnings before committing** |
|
|
|
- `npx antd doctor` — diagnose project configuration issues |
|
|
|
- `npx antd migrate <v1> <v2>` — migration checklist between versions |
|
|
|
- Always use `--format json` for structured output |
|
|
|
|
|
|
|
@ -92,7 +92,7 @@ const Footer: React.FC = () => { |
|
|
|
</a> |
|
|
|
)} |
|
|
|
</span> |
|
|
|
<Divider type="vertical" className={styles.divider} /> |
|
|
|
<Divider orientation="vertical" className={styles.divider} /> |
|
|
|
<span className={styles.group}> |
|
|
|
<span className={styles.label}>Umi</span> |
|
|
|
<a |
|
|
|
@ -104,7 +104,7 @@ const Footer: React.FC = () => { |
|
|
|
{__UMI_VERSION__} |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
<Divider type="vertical" className={styles.divider} /> |
|
|
|
<Divider orientation="vertical" className={styles.divider} /> |
|
|
|
<span className={styles.group}> |
|
|
|
<span className={styles.label}>Utoo</span> |
|
|
|
<a |
|
|
|
@ -116,7 +116,7 @@ const Footer: React.FC = () => { |
|
|
|
{__UTOO_VERSION__} |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
<Divider type="vertical" className={styles.divider} /> |
|
|
|
<Divider orientation="vertical" className={styles.divider} /> |
|
|
|
<a |
|
|
|
className={styles.link} |
|
|
|
href={REPO_URL} |
|
|
|
|