menu: add open button with its bottom sheet
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user