Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: optimize docs indentation #2094

Merged
merged 2 commits into from
Mar 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/hooks/src/useSize/demo/demo2.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* title: pass in the DOM element
* desc: useSize can receive a dom element as parameter. In SSR scenarios, you can pass in function `()=>dom`
* desc: useSize can receive a dom element as parameter. In SSR scenarios, you can pass in function `() => dom`
*
* title.zh-CN: 传入 DOM 元素
* desc.zh-CN: useSize 可以接收 dom,在 SSR 场景可以传入函数 `()=> dom`
* desc.zh-CN: useSize 可以接收 dom,在 SSR 场景可以传入函数 `() => dom`
*/

import React from 'react';
Expand Down