We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Toast
2.68.0
No response
配置位置后,无法生效
import React from 'react'; import { semiGlobal, Toast, Button } from '@douyinfe/semi-ui'; semiGlobal.config.overrideDefaultProps = { Toast: { bottom: 200, }, } function Demo() { const opts = { content: 'Hi, Bytedance dance dance', duration: 3, stack: true, }; return ( <div> <Button onClick={() => Toast.info(opts)}>Display Toast</Button> </div> ); } render(Demo);
- OS:windows - browser:chrome
The text was updated successfully, but these errors were encountered:
DaiQiangReal
No branches or pull requests
Is there an existing issue for this?
Which Component
Toast
Semi Version
2.68.0
Current Behavior
No response
Expected Behavior
配置位置后,无法生效
Steps To Reproduce
No response
ReproducibleCode
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: