UNPKG

@redocly/theme

Version:

Shared UI components lib

13 lines (12 loc) 518 B
import React, { type PropsWithChildren } from 'react'; import type { WithConditions } from '@redocly/config'; export type CodeStepProps = WithConditions<{ id: string; stepKey: number; heading?: string; }>; export declare function CodeStep({ id, heading, stepKey, when, unless, children, }: PropsWithChildren<CodeStepProps>): React.JSX.Element | null; export declare const StepWrapper: import("styled-components").StyledComponent<"div", any, { isActive: boolean; scrollMarginTop: number; }, never>;