mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix(app): add close button to custom info modal (#275)
* add close button to custom info modal * update workflow * fixes workflow --------- Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
1e7320b895
commit
7e0d44dac8
8
.github/workflows/test.build.lib.yml
vendored
8
.github/workflows/test.build.lib.yml
vendored
@ -1,6 +1,12 @@
|
|||||||
name: build:lib
|
name: build:lib
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
files-changed:
|
files-changed:
|
||||||
|
|||||||
@ -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