import React from 'react';
//import { SubHeaderAction } from 'unity-fluent-library';
import { PrimaryActionHeader } from '../../../UI/utilityDisplay/utilityHeader/PrimaryActionHeader';
import { useReadMetaData } from '../hooks/useReadMetaData';
export const PrimaryActionHeaderWrapper = (props) => {
    const { propsComponent } = props;
    const { id, title, subheader } = useReadMetaData(propsComponent);
    return (
    // <SubHeaderAction key={id}>
    // </SubHeaderAction>
    React.createElement(PrimaryActionHeader, { title: (title === null || title === void 0 ? void 0 : title.label) || '', 
        //subheader={subheader?.label || ''}
        buttonLabel: (subheader === null || subheader === void 0 ? void 0 : subheader.label) || '', single: true, grid: false }));
};
//# sourceMappingURL=PrimaryActionHeaderWrapper.js.map