{"version":3,"file":"StepFormDialogItem.cjs","sources":["../../../../src/components/Dialog/ControlledStepFormDialog/StepFormDialogItem.tsx"],"sourcesContent":["'use client'\n\nimport { type FC, type PropsWithChildren, useContext } from 'react'\n\nimport { StepFormDialogContext, type StepItem } from './StepFormDialogProvider'\n\ntype Props = PropsWithChildren<StepItem>\n\nexport const StepFormDialogItem: FC<Props> = ({ children, id }) => {\n  const { currentStep } = useContext(StepFormDialogContext)\n\n  if (currentStep.id !== id) return null\n\n  return children\n}\n"],"names":[],"mappings":";;;;;;AAQO;;AAGL;AAA2B;AAE3B;AACF;;"}