import React from 'react';
export const RenderCustomComponent = (props)=>{
    const { CustomComponent, DefaultComponent, componentProps = {} } = props;
    if (CustomComponent) {
        return /*#__PURE__*/ React.createElement(CustomComponent, componentProps);
    }
    if (DefaultComponent) {
        return /*#__PURE__*/ React.createElement(DefaultComponent, componentProps);
    }
    return null;
};

//# sourceMappingURL=index.js.map