import { ComponentType, ReactNode, JSX } from 'react'; export { F as FragmentDefinition, a as FragmentDefinitionV2 } from './governance-CxGIYMFz.js'; import 'zod'; import './topology/index.js'; import './types-xJ2xyp_G.js'; /** * React-specific types for Fragments. * * Import from '@fragments-sdk/core/react' when you need React-typed * component definitions. The main '@fragments-sdk/core' entrypoint * works without React installed. */ /** * A React component that can be used in a fragment definition. * This type is intentionally broad to support various React component patterns * including FC, forwardRef, memo, and class components across different React versions. */ type FragmentComponent = ComponentType | ((props: TProps) => ReactNode | JSX.Element | null); export type { FragmentComponent };