Files
Shortumation/webapp/src/components/Inputs/AutoComplete/extras-SearchItem.stories.tsx
T
2022-08-30 21:50:43 -04:00

34 lines
656 B
TypeScript

import { SearchItem } from "./extras";
import { makeStory } from "devUtils";
const { make, componentMeta } = makeStory({
Component: SearchItem,
meta: {
title: "Inputs/Extras/SearchItem",
},
BaseTemplate: (args) => {
return (
<div
style={{
width: "15em",
height: "3em",
border: "1px solid var(--mui-grey-400)",
}}
>
<SearchItem {...args} />
</div>
);
},
});
export default componentMeta;
export const Simple = make({
id: "sensor.humidity_main_bedroom",
label: "Main Bedroom Humidity",
searchTerm: "bedroom",
listProps: {},
onlyShowLabel: false,
});