mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
14 lines
302 B
TypeScript
14 lines
302 B
TypeScript
|
import Panel from './Panel';
|
||
|
import SplitterComp from './Splitter';
|
||
|
|
||
|
export type { SplitterProps } from './interface';
|
||
|
|
||
|
type CompoundedComponent = typeof SplitterComp & {
|
||
|
Panel: typeof Panel;
|
||
|
};
|
||
|
|
||
|
const Splitter = SplitterComp as CompoundedComponent;
|
||
|
Splitter.Panel = Panel;
|
||
|
|
||
|
export default Splitter;
|