mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
types: change ComponentImplProps type
This commit is contained in:
parent
823fac1766
commit
9c22e7c85f
@ -24,7 +24,7 @@ export type ComponentImplProps<
|
||||
> = ImplWrapperProps<KSlot> &
|
||||
TraitResult<KStyleSlot, KEvent>['props'] &
|
||||
RuntimeFunctions<TState, TMethods> & {
|
||||
slotsElements: Record<KSlot, React.ReactElement[]>;
|
||||
slotsElements: Record<KSlot, React.ReactElement[] | React.ReactElement>;
|
||||
};
|
||||
|
||||
export type ComponentImpl<
|
||||
|
Loading…
Reference in New Issue
Block a user