-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8b99e9
commit ba24a18
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<DocSection label="Disabled" :code="code"> | ||
<template #description> | ||
A card may show its content is disabled | ||
</template> | ||
<template #example> | ||
<Card disabled> | ||
<CardContent header="Kristy"> | ||
<template #meta> | ||
<span class="date">Joined in 2013</span> | ||
</template> | ||
<template #description> | ||
Kristy is an art director living in New York. | ||
</template> | ||
</CardContent> | ||
<CardContent extra> | ||
<Icon name="user" /> | ||
22 Friends | ||
</CardContent> | ||
</Card> | ||
</template> | ||
</DocSection> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import DocSection from '@/components/doc/DocSection.vue' | ||
import { | ||
Card, | ||
CardContent, | ||
Icon, | ||
} from 'vue-fomantic-ui' | ||
const code = `<template> | ||
<Card disabled> | ||
<CardContent header="Kristy"> | ||
<template #meta> | ||
<span class="date">Joined in 2013</span> | ||
</template> | ||
<template #description> | ||
Kristy is an art director living in New York. | ||
</template> | ||
</CardContent> | ||
<CardContent extra> | ||
<Icon name="user" /> | ||
22 Friends | ||
</CardContent> | ||
</Card> | ||
<\/template>` | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters