diff --git a/packages/canonical-bridge-widget/src/core/components/ConfirmCheckbox/index.tsx b/packages/canonical-bridge-widget/src/core/components/ConfirmCheckbox/index.tsx deleted file mode 100644 index 5e2ed4f9..00000000 --- a/packages/canonical-bridge-widget/src/core/components/ConfirmCheckbox/index.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import { Checkbox, CheckboxProps, theme, useColorMode } from '@bnb-chain/space'; - -export const ConfirmCheckbox: React.FC = (props: CheckboxProps) => { - const { colorMode } = useColorMode(); - - const { isChecked } = props; - - return ( - - ); -}; diff --git a/packages/canonical-bridge-widget/src/core/components/CopyAddress/index.tsx b/packages/canonical-bridge-widget/src/core/components/CopyAddress/index.tsx index 9bc3adee..4d30a6ff 100644 --- a/packages/canonical-bridge-widget/src/core/components/CopyAddress/index.tsx +++ b/packages/canonical-bridge-widget/src/core/components/CopyAddress/index.tsx @@ -27,7 +27,13 @@ export const CopyAddress = ({ return null; } return ( - + { return ( { bodyProps?: ModalBodyProps; mainButtonIsDisabled?: boolean; closeButtonIsDisabled?: boolean; + className?: string; } export function StateModal(props: StateModalProps) { @@ -58,6 +59,7 @@ export function StateModal(props: StateModalProps) { mainButtonIsDisabled = false, closeButtonIsDisabled = false, onClose, + className, mainButtonProps, bodyProps, footerProps, @@ -76,8 +78,9 @@ export function StateModal(props: StateModalProps) { - + - {icon} + {icon} {description && ( {mainButtonText && (