revdev-components 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ export interface AlfaNavigatorOption {
|
|
|
5
5
|
}
|
|
6
6
|
export type AlfaNavigatorMapper = Record<string, AlfaNavigatorOption | ((param: string) => AlfaNavigatorOption)>;
|
|
7
7
|
export type AlfaNavigatorPathPart<TKey extends string = string> = TKey | [TKey, string | number];
|
|
8
|
-
export type
|
|
8
|
+
export type AlfaNavigatorPath<TKey extends string = string> = AlfaNavigatorPathPart<TKey>[];
|
|
9
9
|
interface Props {
|
|
10
10
|
rootOption?: AlfaNavigatorOption;
|
|
11
11
|
options?: AlfaNavigatorOption[];
|
|
@@ -13,7 +13,7 @@ interface Props {
|
|
|
13
13
|
stepClassName?: string;
|
|
14
14
|
isMobile?: boolean;
|
|
15
15
|
mapper?: AlfaNavigatorMapper;
|
|
16
|
-
path?:
|
|
16
|
+
path?: AlfaNavigatorPath;
|
|
17
17
|
}
|
|
18
18
|
export declare const AlfaNavigator: React.FC<Props>;
|
|
19
19
|
export {};
|