fix: List with actions style should be the right (#16239)
* update css * should not affect vertical style * update logicpull/16275/head
parent
197c424e54
commit
e541a2492c
@ -0,0 +1,7 @@
|
|||||||
|
import * as React from 'react';
|
||||||
|
|
||||||
|
export function cloneElement(element: React.ReactNode, ...restArgs: any[]) {
|
||||||
|
if (!React.isValidElement(element)) return element;
|
||||||
|
|
||||||
|
return React.cloneElement(element, ...restArgs);
|
||||||
|
}
|
Loading…
Reference in New Issue