import React, { FC } from "react"; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { Page } from "components/Page"; import { useHAEntityRegistry } from "haService"; import InputYaml from "components/Inputs/InputYaml"; const Test: FC<{ onRender: () => void }> = ({ onRender }) => { const conn = useHAEntityRegistry(); onRender && onRender() if (conn.ready) { return
Loading...
}
export default {
title: 'Services/Entity Registry',
component: Test,
parameters: { actions: { argTypesRegex: '^on.*' } },
args: {}
} as ComponentMeta