From 9878281270b1e334075ae56df7a0dbcac89d78e1 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 1 Mar 2023 22:10:16 -0500 Subject: [PATCH] fix(striker-ui): export input id in CommonUpsInputGroup --- striker-ui/components/ManageUps/CommonUpsInputGroup.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/striker-ui/components/ManageUps/CommonUpsInputGroup.tsx b/striker-ui/components/ManageUps/CommonUpsInputGroup.tsx index 3550ee24..6e1d49a9 100644 --- a/striker-ui/components/ManageUps/CommonUpsInputGroup.tsx +++ b/striker-ui/components/ManageUps/CommonUpsInputGroup.tsx @@ -4,6 +4,9 @@ import Grid from '../Grid'; import InputWithRef from '../InputWithRef'; import OutlinedInputWithLabel from '../OutlinedInputWithLabel'; +const INPUT_ID_UPS_IP = 'common-ups-input-ip-address'; +const INPUT_ID_UPS_NAME = 'common-ups-input-host-name'; + const CommonUpsInputGroup: FC = ({ previous: { upsIPAddress: previousIpAddress, upsName: previousUpsName } = {}, }) => ( @@ -16,7 +19,7 @@ const CommonUpsInputGroup: FC = ({ @@ -30,7 +33,7 @@ const CommonUpsInputGroup: FC = ({ @@ -45,4 +48,6 @@ const CommonUpsInputGroup: FC = ({ ); +export { INPUT_ID_UPS_IP, INPUT_ID_UPS_NAME }; + export default CommonUpsInputGroup;