mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
feature:
目录组件百分比进度
This commit is contained in:
@@ -12,7 +12,7 @@ import smoothscroll from 'smoothscroll-polyfill'
|
||||
* @returns {JSX.Element}
|
||||
* @constructor
|
||||
*/
|
||||
const JumpToBottomButton = ({ targetRef, showPercent = true }) => {
|
||||
const JumpToBottomButton = ({ targetRef, showPercent = false }) => {
|
||||
const { locale } = useGlobal()
|
||||
const [show, switchShow] = useState(false)
|
||||
const [percent, changePercent] = useState(0)
|
||||
|
||||
Reference in New Issue
Block a user