import type { RefAttributes, ReactNode, ElementType, CSSProperties, HTMLAttributes, } from "react"; import classNames from "classnames/dedupe"; import "./StickyOnMobile.css"; export type StickyOnMobileElementType = HTMLElement; export interface StickyOnMobileProps extends HTMLAttributes, RefAttributes { children?: ReactNode; /** HTML element to render. Defaults to `div`. */ elementType?: ElementType; className?: string; style?: CSSProperties; } const StickyOnMobile = ({ ref, ...props }: StickyOnMobileProps) => { const { elementType: Element = "div", ...otherProps } = props; const classes = classNames( "mobius", "mobius-sticky-on-mobile", otherProps.className, ); return ; }; StickyOnMobile.displayName = "StickyOnMobile"; export { StickyOnMobile };