update antd & fix rtl styles
This commit is contained in:
@@ -5,15 +5,16 @@ interface BackIconType {
|
||||
className?: string;
|
||||
onClick?: () => void;
|
||||
iconColor?: string;
|
||||
iconSize?: number;
|
||||
}
|
||||
|
||||
const BackIcon = ({ className, onClick, iconColor }: BackIconType) => {
|
||||
const BackIcon = ({ className, onClick, iconColor, iconSize }: BackIconType) => {
|
||||
const { themeName } = useAppSelector((state) => state.theme);
|
||||
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