message: fix: crash with factory component children
diff: @@ -31,7 +31,8 @@ export default function <P>(
  Component: React.ComponentType<P>,
  componentTheme?: ComponentTheme
  ) {
  - return React.forwardRef((props: P & FactoryComponentProps, ref: any) => {
  + return React.forwardRef(
  + ({ children, ...props }: P & FactoryComponentProps, ref: any) => {
  const StyledComponent = styled(Component as AnyStyledComponent)(
  color,
  background,
  @@ -53,6 +54,11 @@ export default function <P>(
  customLayout
  );
  const calculatedProps = usePropsWithComponentTheme(componentTheme, props);
  - return <StyledComponent {...(calculatedProps as P)} ref={ref} />;
  - });
  + return (
  + <StyledComponent {...(calculatedProps as P)} ref={ref}>
  + {children}
  + </StyledComponent>
  + );
  + }
  + );
  }
  