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

feat: Tabs&TabPane增加 contentClassName #2153

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

wangzishun
Copy link
Contributor

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Tabs&TabPane允许通过className对内层div进行样式管理

Changelog

🇨🇳 Chinese

  • Feature: Tabs&TabPane允许通过className对内层div进行样式管理

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

#2152

Copy link

codesandbox-ci bot commented Apr 7, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 48ac305:

Sandbox Source
pr-story Configuration

@YannLynn YannLynn self-requested a review April 11, 2024 06:48
@YannLynn YannLynn merged commit 7f37eb5 into DouyinFE:release Apr 19, 2024
1 check passed
YannLynn added a commit that referenced this pull request Apr 19, 2024
@@ -103,10 +103,10 @@ class TabPane extends PureComponent<TabPaneProps> {
{
({ animationClassName, animationEventsNeedBind }) => {
return <div
className={cls(cssClasses.TABS_PANE_MOTION_OVERLAY, animationClassName)}
className={cls(cssClasses.TABS_PANE_MOTION_OVERLAY, animationClassName, contentClassName)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里加这个的原因是什么?是你需要对动画做什么修改吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants