Skip to content

Commit

Permalink
fix: support tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
xpadev-net committed Jun 30, 2023
1 parent 3b87b3f commit 936c3ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/BaseSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { ReactNode } from "react";
import Styles from "./default.module.css";
import { IconProps } from "@/@types/IconProps";

type props = IconProps & {
Expand All @@ -18,10 +17,10 @@ export const BaseSvg = ({
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
fill="#1a1a1c"
xmlns="http://www.w3.org/2000/svg"
className={`${Styles.icon} ${className}`}
style={{ ...(style ?? {}), fill: color }}
className={className}
style={{ fill: color, ...(style ?? {}) }}
{...props}
>
{children}
Expand Down
3 changes: 0 additions & 3 deletions src/default.module.css

This file was deleted.

0 comments on commit 936c3ac

Please sign in to comment.