import { FC, HTMLAttributes } from 'react'; /** * A built-in component to turn a numbered list into a visual representation of * steps. * * @example * * * ### This is the first step * * This is the first step description. * * ### This is the second step * * This is the second step description. * * ### This is the third step * * This is the third step description. * * * * @usage * Wrap a set of Markdown headings (from `

` to `

`) with the `` * component to display them as visual steps. You can choose the appropriate * heading level based on the content hierarchy on the page. * * ```mdx filename="MDX" {7-15} * import { Steps } from 'nextra/components' * * ## Getting Started * * Here is some description. * * * ### Step 1 * * Contents for step 1. * * ### Step 2 * * Contents for step 2. * * ``` * * ### Excluding Headings from Table of Contents * * To exclude the headings from the `` component (or any other headings) * to appear in the Table of Contents, replace the Markdown headings `### ...` * with `

` HTML element wrapped in curly braces. * * ```diff filename="MDX" * * - ### Step 1 * + {

Step 1

} * * Contents for step 1. *
* ``` */ declare const Steps: FC>; export { Steps };