{"version":3,"file":"PrimaryActionHeaderWrapper.mjs","names":["React","PrimaryActionHeader","useReadMetaData","PrimaryActionHeaderWrapper","props","$","_c","propsComponent","title","subheader","t0","label","t1","t2"],"sources":["../../../../src/componentSystems/pageRenderer/wrappers/PrimaryActionHeaderWrapper.jsx"],"sourcesContent":["import React from 'react';\n//import { SubHeaderAction } from 'unity-fluent-library';\nimport { PrimaryActionHeader } from '../../../UI/utilityDisplay/utilityHeader/PrimaryActionHeader';\nimport { useReadMetaData } from '../hooks/useReadMetaData';\n\nexport const PrimaryActionHeaderWrapper = (props) => {\n  const { propsComponent } = props;\n  const { id, title, subheader } = useReadMetaData(propsComponent);\n\n  return (\n    // <SubHeaderAction key={id}>\n\n    // </SubHeaderAction>\n    <PrimaryActionHeader\n      title={title?.label || ''}\n      //subheader={subheader?.label || ''}\n      buttonLabel={subheader?.label || ''}\n      single={true}\n      grid={false}\n    />\n  );\n};\n"],"mappings":";;;;;AAKA,MAAaG,8BAA6BC,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CACxC,MAAA,EAAAC,mBAA2BH;CAC3B,MAAA,EAAAI,OAAAC,cAAiCP,gBAAgBK,eAAe;CAOrD,MAAAG,KAAAF,OAAKG,SAAL;CAEM,MAAAC,KAAAH,WAASE,SAAT;CAAsB,IAAAE;AAAA,KAAAR,EAAA,OAAAK,MAAAL,EAAA,OAAAO,IAAA;AAHrCC,OAAA,sBAAA,cAAC,qBAAD;GACS,OAAAH;GAEM,aAAAE;GACL,QAAA;GACF,MAAA;GACN,CAAA;AAAAP,IAAA,KAAAK;AAAAL,IAAA,KAAAO;AAAAP,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;AAAA,QANFQ"}