Compare commits
2 Commits
1c6103142f
...
bae0551895
Author | SHA1 | Date | |
---|---|---|---|
|
bae0551895 | ||
|
cfb498794f |
@ -34,7 +34,7 @@ export const Modal = ({setModalOpen, title, onSubmit, onSubmitText, children}: P
|
|||||||
<section class="modal-card-body">{children}</section>
|
<section class="modal-card-body">{children}</section>
|
||||||
{onSubmit && (
|
{onSubmit && (
|
||||||
<footer class="modal-card-foot">
|
<footer class="modal-card-foot">
|
||||||
<button class="button is-success" onClick={onSubmit}>
|
<button class="button is-success" onInput={onSubmit}>
|
||||||
{onSubmitText || "Save"}
|
{onSubmitText || "Save"}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
|
Loading…
Reference in New Issue
Block a user