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
1 希望支持popver的背景色,来支持不同主题下的适配 2 希望支持popver的内边距,来调整文字距离边框的大小
<Popover key={index} content={
{record.metricName[index]}
{record.metricDesc[index]}
The text was updated successfully, but these errors were encountered:
feat: add panelStyle&arrowStyle config in Popover #2988
02b4891
e9c60d2
Rui-Sun
Successfully merging a pull request may close this issue.
What problem does this feature solve?
1 希望支持popver的背景色,来支持不同主题下的适配
2 希望支持popver的内边距,来调整文字距离边框的大小
What does the proposed API look like?
<Popover
key={index}
content={
{record.metricName[index]}
{record.metricDesc[index]}
}
position={'bottom'}
padding={8}
backgroundColor={'#77777'}
>
<Tag
attribute={{
text: d,
textStyle: {
fontSize: 14,
fontFamily: 'sans-serif',
texturePadding: 16,
fill: themeStore === 'dark' ? '#fff' : '#2e2f32',
},
panel: {
visible: true,
fill: 'rgba(92, 184, 85, 0.10)',
lineWidth: 1,
cornerRadius: [16],
},
boundsPadding: [0, 0, 0, 8],
}}
>
The text was updated successfully, but these errors were encountered: