File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/components/stepConnector Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2828 */
2929
3030import { useEffect , useMemo , useRef , useState } from "react" ;
31+
3132import styles from "./style.module.scss" ;
3233
3334type Persistence = "session" | "none" ;
3435
3536type Props = {
3637 children : React . ReactNode ;
37- /** Start numbering from this value. @defaultValue 1 */
38- startAt ?: number ;
39- /** Which heading level to connect (CSS selector). @defaultValue 'h2' */
40- selector ?: string ;
41- /** Show numeric labels inside circles. Set false for blank circles. @defaultValue true */
42- showNumbers ?: boolean ;
4338 /** Allow users to check off steps (circle becomes a button). @defaultValue false */
4439 checkable ?: boolean ;
4540 /** Completion storage: 'session' | 'none'. @defaultValue 'session' */
4641 persistence ?: Persistence ;
42+ /** Which heading level to connect (CSS selector). @defaultValue 'h2' */
43+ selector ?: string ;
44+ /** Show numeric labels inside circles. Set false for blank circles. @defaultValue true */
45+ showNumbers ?: boolean ;
4746 /** Show a small "Reset steps" action when checkable. @defaultValue true */
4847 showReset ?: boolean ;
48+ /** Start numbering from this value. @defaultValue 1 */
49+ startAt ?: number ;
4950} ;
5051
5152export function StepComponent ( {
@@ -192,4 +193,3 @@ export function StepComponent({
192193export function StepConnector ( props : Props ) {
193194 return < StepComponent { ...props } /> ;
194195}
195-
You can’t perform that action at this time.
0 commit comments