1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00

deprecating SiteOrigin in favour TagUrl (#20620)

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
Dhruv 2023-08-30 02:56:44 +05:30 committed by GitHub
parent 3747bc61ef
commit a889681e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,15 @@ import Chip from '../chip';
import IconWithFallback from '../icon-with-fallback';
import { BorderColor } from '../../../helpers/constants/design-system';
/**
* @deprecated The `<SiteOrigin />` component has been deprecated in favor of the new `<TagUrl>` component from the component-library.
* Please update your code to use the new `<TagUrl>` component instead, which can be found at ui/components/component-library/tag-url/tag-url.js.
* You can find documentation for the new `TagUrl` component in the MetaMask Storybook:
* {@link https://metamask.github.io/metamask-storybook/?path=/docs/components-componentlibrary-tagurl--docs}
* If you would like to help with the replacement of the old `SiteOrigin` component, please submit a pull request against this GitHub issue:
* {@link https://github.com/MetaMask/metamask-extension/issues/20489}
*/
export default function SiteOrigin({
siteOrigin,
iconSrc,