-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: rename LocalTreeModal to TreeSelectionModal
- Loading branch information
orlinmalkja
committed
Jan 31, 2025
1 parent
f7ad3f4
commit 7f9b8a4
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
import { FC } from 'react' | ||
|
||
|
||
import LocalTreeModal from '@/components/LocalTreeModal' | ||
import TreeSelectionModal from '@/components/TreeSelectionModal' | ||
|
||
const TopBar: FC = () => { | ||
|
||
const addButton = | ||
<span className="t-bg-blue-500 t-text-white t-rounded t-flex t-pl-4 t-items-center t-justify-items-center t-w-16 t-h-10"> | ||
|
||
const addButton = | ||
<span | ||
className="t-bg-blue-500 t-text-white t-rounded t-flex t-pl-4 t-items-center t-justify-items-center t-w-16 t-h-10"> | ||
New | ||
</span> | ||
|
||
</span> | ||
|
||
|
||
return <div className="t-flex t-flex-row t-ml-[6%] t-mt-10"> | ||
<TreeSelectionModal TriggerButton={addButton}/> | ||
</div> | ||
|
||
return <div className="t-flex t-flex-row t-ml-[6%] t-mt-10"> | ||
<LocalTreeModal TriggerButton={addButton} /> | ||
</div> | ||
|
||
} | ||
|
||
export default TopBar | ||
export default TopBar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters