@selfdecode/sd-component-library 2.44.5 → 2.44.6
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.
|
@@ -27,8 +27,9 @@ declare class RefsManager {
|
|
|
27
27
|
* Scroll the component with provided ID into the view.
|
|
28
28
|
*
|
|
29
29
|
* @param id ID for the component.
|
|
30
|
+
* @param behavior Scroll behavior.
|
|
30
31
|
*/
|
|
31
|
-
scrollToRef(id: string): void;
|
|
32
|
+
scrollToRef(id: string, behavior?: "smooth" | "auto"): void;
|
|
32
33
|
}
|
|
33
34
|
export declare const refsManager: RefsManager;
|
|
34
35
|
export {};
|