Use new antd apis for framework events
Summary: No more warnings. Reviewed By: antonk52 Differential Revision: D48964070 fbshipit-source-id: 4f9b9affb04b8bc355b0687c9bc9c7273e469d78
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f2ef26cd9a
commit
aab84d3fb9
@@ -98,15 +98,15 @@ export const FrameworkEventsInspector: React.FC<Props> = ({
|
|||||||
{(showEventTypesSection || showThreadsSection) && (
|
{(showEventTypesSection || showThreadsSection) && (
|
||||||
<Dropdown
|
<Dropdown
|
||||||
overlayStyle={{minWidth: 200}}
|
overlayStyle={{minWidth: 200}}
|
||||||
onVisibleChange={(visible) => {
|
onOpenChange={(open) => {
|
||||||
if (visible) {
|
if (open) {
|
||||||
tracker.track(
|
tracker.track(
|
||||||
'framework-event-timeline-filters-adjusted',
|
'framework-event-timeline-filters-adjusted',
|
||||||
{},
|
{},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
overlay={
|
dropdownRender={() => (
|
||||||
<Layout.Container
|
<Layout.Container
|
||||||
gap="small"
|
gap="small"
|
||||||
pad="small"
|
pad="small"
|
||||||
@@ -165,7 +165,7 @@ export const FrameworkEventsInspector: React.FC<Props> = ({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Layout.Container>
|
</Layout.Container>
|
||||||
}>
|
)}>
|
||||||
<Button
|
<Button
|
||||||
shape="circle"
|
shape="circle"
|
||||||
icon={
|
icon={
|
||||||
|
|||||||
Reference in New Issue
Block a user