diff --git a/libs/remix-ui/settings/src/lib/etherscan-settings.tsx b/libs/remix-ui/settings/src/lib/etherscan-settings.tsx index 344b6e49f8..afb9259120 100644 --- a/libs/remix-ui/settings/src/lib/etherscan-settings.tsx +++ b/libs/remix-ui/settings/src/lib/etherscan-settings.tsx @@ -1,4 +1,5 @@ import { CopyToClipboard } from '@remix-ui/clipboard' +import { CustomTooltip } from '@remix-ui/helper' import React, { useEffect, useState } from 'react' import { EtherscanSettingsProps } from '../types' import { etherscanTokenTitle, etherscanAccessTokenText, etherscanAccessTokenText2, etherscanTokenLink } from './constants' @@ -48,7 +49,13 @@ export function EtherscanSettings (props: EtherscanSettingsProps) {
- + +
diff --git a/libs/remix-ui/settings/src/lib/github-settings.tsx b/libs/remix-ui/settings/src/lib/github-settings.tsx index 09c50bb34e..345a7ae6bf 100644 --- a/libs/remix-ui/settings/src/lib/github-settings.tsx +++ b/libs/remix-ui/settings/src/lib/github-settings.tsx @@ -1,4 +1,5 @@ import { CopyToClipboard } from '@remix-ui/clipboard' +import { CustomTooltip } from '@remix-ui/helper' import React, { useEffect, useState } from 'react' import { GithubSettingsProps } from '../types' import { gitAccessTokenTitle, gitAccessTokenText, gitAccessTokenText2, gitAccessTokenLink } from './constants' @@ -73,7 +74,14 @@ export function GithubSettings (props: GithubSettingsProps) { handleChangeEmailState(e)} value={ githubEmail } />
- + + +
diff --git a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx index b31313726d..fcdb76a41c 100644 --- a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx +++ b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx @@ -9,6 +9,7 @@ import { Toaster } from '@remix-ui/toaster'// eslint-disable-line import { RemixUiThemeModule, ThemeModule} from '@remix-ui/theme-module' import { GithubSettings } from './github-settings' import { EtherscanSettings } from './etherscan-settings' +import { CustomTooltip } from '@remix-ui/helper' /* eslint-disable-next-line */ export interface RemixUiSettingsProps { @@ -154,25 +155,32 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { const displayErrorsChecked = props.config.get('settings/display-errors') || false return (
-
- -
+ }}>Reset to Default settings +
+
General settings