select input added where necessary
This commit was merged in pull request #37.
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import { FaCaretDown } from "react-icons/fa";
|
||||
|
||||
import dashIcon from "../../assets/images/dashboard/dashDefault.svg";
|
||||
type Props = {
|
||||
name: string;
|
||||
fillColor?: string;
|
||||
className?:string;
|
||||
};
|
||||
|
||||
export default function Icons({ name, fillColor }: Props) {
|
||||
export default function Icons({ name, fillColor, className }: Props) {
|
||||
return (
|
||||
<>
|
||||
{name == "home" ? (
|
||||
@@ -106,7 +109,9 @@ export default function Icons({ name, fillColor }: Props) {
|
||||
fill={fillColor ? fillColor : "#FFF"}
|
||||
/>
|
||||
</svg>
|
||||
) : name == "dash-icon" ? (
|
||||
) :name == 'arrow-down'?
|
||||
<FaCaretDown className={`text-xl ${className && className}`} />
|
||||
:name == "dash-icon" ? (
|
||||
<img src={dashIcon} alt="dash-icon" />
|
||||
) : null}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user