import { jsx as _jsx } from "react/jsx-runtime";
export function withRequiredCommonProps(Component) {
    const name = Component.displayName ?? Component.name ?? 'Component';
    function WithRequiredCommonProps(props) {
        return _jsx(Component, { ...props });
    }
    WithRequiredCommonProps.displayName = `WithRequiredCommonProps(${name})`;
    return WithRequiredCommonProps;
}
//# sourceMappingURL=common-props.js.map