import * as React from "react"; import type { StackItemOwnProps, PolymorphicWithRef } from "../types"; import { StackItemBase } from "../base-components"; type StackItemProps = PolymorphicWithRef< T, StackItemOwnProps >; type StackItemElement = ( props: StackItemProps ) => React.ReactElement>; const StackItem: StackItemElement = React.forwardRef( ( props: StackItemProps, innerRef: typeof props.ref ) => { const { component = "div", ...rest } = props; return ( ); } ); export default StackItem;