import React from "react"; import { SettingButton } from "./settingButton"; import langIcon from './icons/languageIcon.svg'; import shareIcon from './icons/shareIcon.svg'; import pointerIcon from './icons/pointer2Icon.svg'; import exitIcon from './icons/exitIcon.svg'; import { LangButton } from "./langButton"; type TProps = { type: 'other' | 'selectLang' onClickShare?: () => void onClickChangeLang?: () => void onClickSelectLang?: () => void onClickExit?: () => void } export const SettingButtons:React.FC = React.memo((props) => { return
{ props.type === 'other' ? <> : <> }
{ props.type === 'other' ? : null }
})