feat: add ListItem component with title and subtitle
This commit is contained in:
@@ -7,6 +7,9 @@ import TabItem from '../components/Tabs/tabItem.astro';
|
||||
import TabContent from '../components/Tabs/tabContent.astro';
|
||||
import Button from '../components/Button/button.astro';
|
||||
import Link from '../components/Link/link.astro';
|
||||
import ListItem from '../components/ListItem/listItem.astro';
|
||||
import ListItemTitle from '../components/ListItem/listItemTitle.astro';
|
||||
import ListItemSubtitle from '../components/ListItem/listItemSubtitle.astro';
|
||||
import {
|
||||
Arrow2Icon, BinIcon, BurgerIcon, CalendarIcon, CheckIcon, CloseIcon,
|
||||
CodeIcon, CubeIcon, DownloadIcon, FilterIcon, HelpIcon, HomeIcon,
|
||||
@@ -21,6 +24,15 @@ const initialChecked = true;
|
||||
<Layout>
|
||||
<main>
|
||||
<h1>Nova Design System</h1>
|
||||
<section>
|
||||
<h2>List Item</h2>
|
||||
<div style="display: flex; flex-direction: column; gap: var(--nds-spacing-md);">
|
||||
<ListItem>
|
||||
<ListItemTitle>List Item Title</ListItemTitle>
|
||||
<ListItemSubtitle>List Item Subtitle</ListItemSubtitle>
|
||||
</ListItem>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Link</h2>
|
||||
<div style="display: flex; flex-direction: column; gap: var(--nds-spacing-md);">
|
||||
|
||||
Reference in New Issue
Block a user