Added new component
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user