import React, { forwardRef } from 'react';
import { useTheme } from './hooks';
export const themed = (Component) => (themed) => forwardRef((props, ref) => {
    const theme = useTheme();
    return <Component ref={ref} {...themed(theme)} {...props}/>;
});
//# sourceMappingURL=themed.jsx.map