mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
docs(modal): add example "Has scrolling content"
This commit is contained in:
parent
e62bea38aa
commit
3ef64fb7b3
2 changed files with 24 additions and 1 deletions
17
docs/src/pages/framed/Modal/ModalScrollingContent.svelte
Normal file
17
docs/src/pages/framed/Modal/ModalScrollingContent.svelte
Normal file
|
@ -0,0 +1,17 @@
|
|||
<script>
|
||||
import { Modal } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Modal open passiveModal modalHeading="About Cloudant" hasScrollingContent>
|
||||
<p>
|
||||
Cloudant is a fully managed, distributed database optimized for heavy
|
||||
workloads and fast-growing web and mobile apps, IBM Cloudant is available as
|
||||
an IBM Cloud® service with a 99.99% SLA.
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
The database elastically scales throughput and storage, and its API and
|
||||
replication protocols are compatible with Apache CouchDB for hybrid or
|
||||
multicloud architectures.
|
||||
</p>
|
||||
</Modal>
|
Loading…
Add table
Add a link
Reference in a new issue