import { ComponentMeta, ComponentStory } from "@storybook/react"; import { useState } from "react"; import InputTextBubble, { InputEntity } from "./InputTextBubble"; export default { title: 'Inputs/InputTextBubble', component: InputTextBubble, parameters: { actions: { argTypesRegex: '^on.*' } }, argTypes: { label: { defaultValue: 'Sample Title' } } } as ComponentMeta; export const ArrayText: ComponentStory = args => { const [value, setValue] = useState(['wow', 'lots of bubbles', 'itchen', 'bathroom']) return
} export const JustText: ComponentStory = args => { const [value, setValue] = useState('hello') return
} export const EntityId: ComponentStory = args => { const [value, setValue] = useState(['sensor.bathroom']) return
}