improvements

This commit is contained in:
Red Adaya 2024-10-01 14:03:58 +08:00
parent 829dffa589
commit 1861bfafe5
2 changed files with 9 additions and 3 deletions

View File

@ -17,6 +17,12 @@
justify-content: space-between;
}
.list-item-button.clickable {
&:hover {
background-color: #f0f0f0;
}
}
.list-item-icon {
margin-right: 10px;
}

View File

@ -1,9 +1,9 @@
import { Meta, StoryObj } from "@storybook/react";
import { List } from "./List"; // Import the List component
import "./list.less"; // Assuming you have your LESS styles
import { List } from "./list";
import "./list.less";
const meta: Meta<typeof List> = {
title: "Components/List",
title: "Elements/List",
component: List,
argTypes: {
items: { control: "object" },