Tencent / Tencent/tdesign-react

[Alert] 希望暴露 CSSTransition 相关的 Prop,以更改入场与出场的形式与时间

Open
#2,277 3 comments 0 reactions 2 assignees View on GitHub

@insekkei is already working on this.

Since Jun 8, 2023.

💪🏻 enhancement
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

https://github.com/Tencent/tdesign-react/blob/develop/src/alert/Alert.tsx#L107

image

希望可以更改默认的 200 transitionTime 及 classNames。或者是否可以直接暴露一个 CSSTransitionProps 以较大程度地开放:

<CSSTransition
    ...CSSTransitionProps,
>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.