@polyipseity/obsidian-plugin-library 1.36.0 → 1.36.1
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.
|
@@ -29,13 +29,13 @@ export interface Props {
|
|
|
29
29
|
* However, if you want to use a custom translation function or a different
|
|
30
30
|
* i18next instance, you can pass it in as a prop and bind it in your markup.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
i18nt?: i18n["t"];
|
|
33
33
|
params?: DeepWritable<Params>;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
results?: string;
|
|
35
|
+
onClose?: () => unknown;
|
|
36
|
+
onFind?: (direction: Direction, params: Params) => unknown;
|
|
37
|
+
onParamsChanged?: (params: Params) => unknown;
|
|
38
|
+
initialFocus?: boolean;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export interface Exports {
|
|
@@ -49,5 +49,5 @@ export type Bindings = "params";
|
|
|
49
49
|
// compiler generates a class, so our declaration mirrors that by extending the
|
|
50
50
|
// generic `Component` type. this makes the value newable and mergeable with a
|
|
51
51
|
// namespace below.
|
|
52
|
-
declare
|
|
52
|
+
declare const FindComponent: Component<Props, Exports, Bindings>;
|
|
53
53
|
export default FindComponent;
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
* However, if you want to use a custom translation function or a different
|
|
32
32
|
* i18next instance, you can pass it in as a prop and bind it in your markup.
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
i18nt?: i18n["t"];
|
|
35
35
|
params?: DeepWritable<Params>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
results?: string;
|
|
37
|
+
onClose?: () => unknown;
|
|
38
|
+
onFind?: (direction: Direction, params: Params) => unknown;
|
|
39
|
+
onParamsChanged?: (params: Params) => unknown;
|
|
40
|
+
initialFocus?: boolean;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export interface Exports {
|