mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix(dnd): add isExtra prop to Option (#15080)
This commit is contained in:
@@ -43,6 +43,7 @@ export default function OptionWrapper(
|
||||
onShiftOptions,
|
||||
clickClose,
|
||||
withCaret,
|
||||
isExtra,
|
||||
children,
|
||||
...rest
|
||||
} = props;
|
||||
@@ -107,7 +108,12 @@ export default function OptionWrapper(
|
||||
|
||||
return (
|
||||
<DragContainer ref={ref} {...rest}>
|
||||
<Option index={index} clickClose={clickClose} withCaret={withCaret}>
|
||||
<Option
|
||||
index={index}
|
||||
clickClose={clickClose}
|
||||
withCaret={withCaret}
|
||||
isExtra={isExtra}
|
||||
>
|
||||
{children}
|
||||
</Option>
|
||||
</DragContainer>
|
||||
|
||||
Reference in New Issue
Block a user