import { Show } from "../../../src/coreX/Show"; import { StoryObj } from "@storybook/react"; import React from "react"; /** * * Show 条件渲染组件 * * 根据条件决定显示内容还是备用内容 * * 提供了一种声明式的方式来替代 JSX 中的条件渲染 * * 支持布尔值条件和函数条件 */ declare const meta: { component: React.FC; title: string; }; export default meta; type Story = StoryObj; export declare const BasicTrue: Story; export declare const BasicFalse: Story; export declare const FunctionCondition: Story; export declare const NoFallback: Story; export declare const Interactive: { name: string; render: () => React.JSX.Element; }; export declare const NestedShows: { name: string; render: () => React.JSX.Element; }; export declare const CombinedWithOtherComponents: { name: string; render: () => React.JSX.Element; };