menu: add open button with its bottom sheet

This commit is contained in:
2025-12-11 00:07:43 +03:00
parent d56281b91d
commit e7ea8443fd
6 changed files with 285 additions and 15 deletions

View File

@@ -4,15 +4,17 @@ import { ProGray1 } from "ThemeConstants";
interface NextIconType {
className?: string;
onClick?: () => void;
iconColor?: string;
iconSize?: number;
}
const NextIcon = ({ className, onClick }: NextIconType) => {
const NextIcon = ({ className, onClick, iconColor, iconSize }: NextIconType) => {
const { themeName } = useAppSelector((state) => state.theme);
const color = themeName === "dark" ? "white" : ProGray1;
const color = iconColor || (themeName === "dark" ? "white" : ProGray1);
return (
<svg
width="16"
height="16"
width={iconSize || 16}
height={iconSize || 16}
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"