diff --git a/components/brave_welcome_ui/components/select-browser/index.tsx b/components/brave_welcome_ui/components/select-browser/index.tsx index aeded9103fa1..39e378ba4a82 100644 --- a/components/brave_welcome_ui/components/select-browser/index.tsx +++ b/components/brave_welcome_ui/components/select-browser/index.tsx @@ -22,6 +22,7 @@ import FirefoxSVG from '../svg/browser-icons/firefox' import OperaSVG from '../svg/browser-icons/opera' import SafariSVG from '../svg/browser-icons/safari' import VivaldiSVG from '../svg/browser-icons/vivaldi' +import YandexSVG from '../svg/browser-icons/yandex' interface BrowserItemButtonProps { browserName: string @@ -37,7 +38,8 @@ const browserIcons = { 'Mozilla Firefox': , 'Opera': , 'Safari': , - 'Vivaldi': + 'Vivaldi': , + 'Yandex': } function BrowserItemButton (props: BrowserItemButtonProps) { diff --git a/components/brave_welcome_ui/components/svg/browser-icons/yandex.tsx b/components/brave_welcome_ui/components/svg/browser-icons/yandex.tsx new file mode 100644 index 000000000000..2752587000c2 --- /dev/null +++ b/components/brave_welcome_ui/components/svg/browser-icons/yandex.tsx @@ -0,0 +1,22 @@ +// Copyright (c) 2023 The Brave Authors. All rights reserved. +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this file, +// you can obtain one at https://mozilla.org/MPL/2.0/. + +import * as React from 'react' + +const SvgComponent = (props: any) => ( + + + + + + + + + + + +) + +export default SvgComponent diff --git a/components/brave_welcome_ui/state/component_types.ts b/components/brave_welcome_ui/state/component_types.ts index 225b2dbfda04..1246de91c3db 100644 --- a/components/brave_welcome_ui/state/component_types.ts +++ b/components/brave_welcome_ui/state/component_types.ts @@ -24,7 +24,8 @@ export enum BrowserType { Mozilla_Firefox = 'Mozilla Firefox', Microsoft_Edge = 'Microsoft Edge', Vivaldi = 'Vivaldi', - Opera = 'Opera' + Opera = 'Opera', + Yandex = 'Yandex' } export interface Scenes {