mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
add close button to custom info modal
This commit is contained in:
parent
729f97f38a
commit
cf5b9a407e
@ -17,6 +17,14 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
||||
{map.custom_text ? (
|
||||
<>
|
||||
<TextView rawText={map.custom_text}></TextView>
|
||||
<div className='tw:grid'>
|
||||
<label
|
||||
className='tw:btn tw:btn-primary tw:place-self-end tw:mt-4'
|
||||
onClick={() => clickAction1()}
|
||||
>
|
||||
Close
|
||||
</label>
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user