Added new component

This commit is contained in:
Laux Dev
2026-03-03 16:40:24 +08:00
parent e1c6b4bfc4
commit b054ee1867
13 changed files with 66 additions and 359 deletions

View File

@@ -85,13 +85,11 @@ const TopHeader = (props) => {
)}
{editState || props?.requiredButtons?.includes("save") ? (
<>
<div
className={styles.button}
<PrimaryButton
text="Save"
onClick={() => setTriggerAlert(!triggerAlert)}
>
<CheckIcon width={20} height={20} />
<p>Save</p>
</div>
icon={<CheckIcon width={20} height={20} />}
/>
<SecondaryButton
text="Cancel"