forked from profectus/Profectus
Add docs and otherwise improve how docs will generate
This commit is contained in:
parent
be9f488aa2
commit
67ca253f5c
43 changed files with 250 additions and 201 deletions
src/components/modals
|
@ -15,14 +15,26 @@
|
|||
<div class="modal-wrapper">
|
||||
<div class="modal-container" :width="width">
|
||||
<div class="modal-header">
|
||||
<slot name="header" :shown="isOpen"> default header </slot>
|
||||
<!--
|
||||
@slot Modal Header
|
||||
@binding {boolean} shown Whether the modal is currently open or animating
|
||||
-->
|
||||
<slot name="header" :shown="isOpen" />
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<Context ref="contextRef">
|
||||
<slot name="body" :shown="isOpen"> default body </slot>
|
||||
<!--
|
||||
@slot Modal Body
|
||||
@binding {boolean} shown Whether the modal is currently open or animating
|
||||
-->
|
||||
<slot name="body" :shown="isOpen" />
|
||||
</Context>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<!--
|
||||
@slot Modal Footer
|
||||
@binding {boolean} shown Whether the modal is currently open or animating
|
||||
-->
|
||||
<slot name="footer" :shown="isOpen">
|
||||
<div class="modal-default-footer">
|
||||
<div class="modal-default-flex-grow"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue