mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-05 09:05:27 +00:00
add close button to custom info modal
This commit is contained in:
parent
045ec726eb
commit
835c661009
@ -17,6 +17,14 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
|||||||
{map.custom_text ? (
|
{map.custom_text ? (
|
||||||
<>
|
<>
|
||||||
<TextView rawText={map.custom_text}></TextView>
|
<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