Skip to content

Commit

Permalink
docs(Popup): update docs (#1734)
Browse files Browse the repository at this point in the history
* docs(Popup): update docs

* chore: update common

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
anlyyao and github-actions[bot] authored Jan 22, 2025
1 parent cf9aab6 commit 6b49555
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/popup/popup.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ The component provides the following CSS variables, which can be used to customi
Name | Default Value | Description
-- | -- | --
--td-popup-bg-color | @bg-color-container | -
--td-popup-border-radius | @radius-default | -
--td-popup-border-radius | @radius-extra-large | -
--td-popup-close-btn-color | @text-color-primary | -
3 changes: 2 additions & 1 deletion src/popup/popup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ visible-change | `(visible: boolean, trigger: PopupSource) ` | 当浮层隐藏
名称 | 默认值 | 描述
-- | -- | --
--td-popup-bg-color | @bg-color-container | -
--td-popup-border-radius | @radius-default | -
--td-popup-border-radius | @radius-extra-large | -
--td-popup-close-btn-color | @text-color-primary | -
2 changes: 1 addition & 1 deletion src/popup/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import popupProps from './props';
import TOverlay from '../overlay';
import config from '../config';
import { TdPopupProps } from './type';
import { useDefault, TNode, isBrowser } from '../shared';
import { useDefault, TNode } from '../shared';
import { usePrefixClass } from '../hooks/useClass';
import { useLockScroll } from '../hooks/useLockScroll';
import { useContent, useTNodeJSX } from '../hooks/tnode';
Expand Down

0 comments on commit 6b49555

Please sign in to comment.