import React from "react"; import { StyleSheetType } from "../services/StyleSheet"; import getStyleAndDataIdAttributes from "./getStyleAndDataIdAttributes"; type StyleableProps = { children?: React.ReactNode; style?: StyleSheetType; }; const styledComponent = ( Component: React.ComponentType ) => React.forwardRef( ({ style, ...props }: Props, forwardedRef) => ( ) ); export default styledComponent;