diff --git a/apps/explorer/src/app/components/jump-to-block/index.tsx b/apps/explorer/src/app/components/jump-to-block/index.tsx
index c48555ef8..9d2f434b0 100644
--- a/apps/explorer/src/app/components/jump-to-block/index.tsx
+++ b/apps/explorer/src/app/components/jump-to-block/index.tsx
@@ -1,6 +1,7 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
import { Routes } from '../../routes/router-config';
+import { JumpTo } from '../jump-to';
export const JumpToBlock = () => {
const navigate = useNavigate();
@@ -20,25 +21,13 @@ export const JumpToBlock = () => {
};
return (
-
+
);
};
diff --git a/apps/explorer/src/app/components/jump-to/index.tsx b/apps/explorer/src/app/components/jump-to/index.tsx
new file mode 100644
index 000000000..075efa5c6
--- /dev/null
+++ b/apps/explorer/src/app/components/jump-to/index.tsx
@@ -0,0 +1,43 @@
+import { HTMLInputTypeAttribute, SyntheticEvent } from 'react';
+import { Input, Button } from '@vegaprotocol/ui-toolkit';
+
+interface JumpToProps {
+ label: string;
+ placeholder: string;
+ inputId: string;
+ inputType: HTMLInputTypeAttribute;
+ inputName: string;
+ submitHandler: (arg0: SyntheticEvent) => void;
+}
+
+export const JumpTo = ({
+ label,
+ placeholder,
+ inputId,
+ inputType,
+ inputName,
+ submitHandler,
+}: JumpToProps) => {
+ return (
+
+ );
+};
diff --git a/apps/explorer/src/app/routes/parties/home/index.tsx b/apps/explorer/src/app/routes/parties/home/index.tsx
index 327a00757..712a74aa7 100644
--- a/apps/explorer/src/app/routes/parties/home/index.tsx
+++ b/apps/explorer/src/app/routes/parties/home/index.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import { RouteTitle } from '../../../components/route-title';
+import { JumpTo } from '../../../components/jump-to';
import { useNavigate } from 'react-router-dom';
import { Routes } from '../../router-config';
@@ -21,25 +22,14 @@ export const JumpToParty = () => {
}
};
return (
-
+
);
};
diff --git a/libs/ui-toolkit/src/components/input/input.tsx b/libs/ui-toolkit/src/components/input/input.tsx
index ad3e5199c..e58411858 100644
--- a/libs/ui-toolkit/src/components/input/input.tsx
+++ b/libs/ui-toolkit/src/components/input/input.tsx
@@ -60,7 +60,7 @@ export const inputStyle = ({
export const Input = forwardRef(
({ prependIconName, appendIconName, className, ...props }, ref) => {
- className = `${className} h-28`;
+ className = `h-28 ${className}`;
if (prependIconName) {
className += ' pl-28';
}