diff --git a/README.md b/README.md index b6433a48..8f34272a 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ react-feather is a collection of simply beautiful open source icons for React.js. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability. #### Based on Feather Icons ```v4.28.0``` +https://feathericons.com/ ### Installation yarn add react-feather diff --git a/bin/build.js b/bin/build.js index f8f49c4b..1c177ecf 100644 --- a/bin/build.js +++ b/bin/build.js @@ -19,12 +19,12 @@ if (!fs.existsSync(dir)) { const initialTypeDefinitions = `/// import { FC, SVGAttributes } from 'react'; -interface Props extends SVGAttributes { +export interface IconProps extends SVGAttributes { color?: string; size?: string | number; } -type Icon = FC; +export type Icon = FC; `; fs.writeFileSync(path.join(rootDir, 'src', 'index.js'), '', 'utf-8'); @@ -66,7 +66,7 @@ icons.forEach((i) => { import React, {forwardRef} from 'react'; import PropTypes from 'prop-types'; - const ${ComponentName} = forwardRef(({ color = 'currentColor', size = 24, ...rest }, ref) => { + const ${ComponentName} = forwardRef(({ color = 'currentColor', size = 1em, ...rest }, ref) => { return ( ${featherIcons[i]} diff --git a/package-lock.json b/package-lock.json index c81a6b3b..d87b40ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-feather", - "version": "2.0.8", + "version": "2.0.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 87628231..29c2a00b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-feather", - "version": "2.0.8", + "version": "2.0.9", "description": "React component for Feather icons", "main": "build/index.js", "module": "dist/index.js", @@ -56,7 +56,7 @@ "uppercamelcase": "^3.0.0" }, "peerDependencies": { - "react": "^16.8.6" + "react": "^16.8.6 || ^17" }, "dependencies": { "prop-types": "^15.7.2" diff --git a/src/icons/activity.js b/src/icons/activity.js index ed1d9187..467cc4c8 100644 --- a/src/icons/activity.js +++ b/src/icons/activity.js @@ -1,7 +1,7 @@ import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; -const Activity = forwardRef(({ color = 'currentColor', size = 24, ...rest }, ref) => { +const Activity = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Airplay = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlertCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlertOctagon = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlertTriangle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlignCenter = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlignJustify = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlignLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AlignRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Anchor = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Aperture = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Archive = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowDownCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowDownLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowDownRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowLeftCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowRightCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowUpCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowUpLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowUpRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ArrowUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const AtSign = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Award = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const BarChart2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const BarChart = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const BatteryCharging = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Battery = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const BellOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Bell = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Bluetooth = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Bold = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const BookOpen = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Book = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Bookmark = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Box = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Briefcase = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Calendar = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CameraOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Camera = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Cast = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CheckCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CheckSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Check = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronsDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronsLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronsRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ChevronsUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Chrome = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Circle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Clipboard = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Clock = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CloudDrizzle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CloudLightning = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CloudOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CloudRain = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CloudSnow = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Cloud = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Code = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Codepen = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Codesandbox = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Coffee = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Columns = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Command = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Compass = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Copy = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerDownLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerDownRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerLeftDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerLeftUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerRightDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerRightUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerUpLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CornerUpRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Cpu = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const CreditCard = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Crop = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Crosshair = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Database = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Delete = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Disc = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const DivideCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const DivideSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Divide = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const DollarSign = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const DownloadCloud = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Download = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Dribbble = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Droplet = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Edit2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Edit3 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Edit = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ExternalLink = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const EyeOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Eye = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Facebook = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FastForward = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Feather = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Figma = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FileMinus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FilePlus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FileText = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const File = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Film = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Filter = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Flag = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FolderMinus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const FolderPlus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Folder = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Framer = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Frown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Gift = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const GitBranch = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const GitCommit = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const GitMerge = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const GitPullRequest = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const GitHub = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Gitlab = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Globe = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Grid = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const HardDrive = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Hash = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Headphones = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Heart = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const HelpCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Hexagon = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Home = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Image = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Inbox = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Info = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Instagram = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Italic = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Key = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Layers = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Layout = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const LifeBuoy = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Link2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Link = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Linkedin = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const List = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Loader = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Lock = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const LogIn = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const LogOut = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Mail = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MapPin = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Map = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Maximize2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Maximize = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Meh = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Menu = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MessageCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MessageSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MicOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Mic = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Minimize2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Minimize = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MinusCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MinusSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Minus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Monitor = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Moon = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MoreHorizontal = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MoreVertical = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const MousePointer = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Move = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Music = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Navigation2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Navigation = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Octagon = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Package = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Paperclip = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PauseCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Pause = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PenTool = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Percent = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneCall = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneForwarded = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneIncoming = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneMissed = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PhoneOutgoing = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Phone = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PieChart = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PlayCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Play = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PlusCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const PlusSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Plus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Pocket = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Power = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Printer = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Radio = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const RefreshCcw = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const RefreshCw = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Repeat = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Rewind = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const RotateCcw = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const RotateCw = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Rss = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Save = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Scissors = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Search = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Send = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Server = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Settings = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Share2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Share = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ShieldOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Shield = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ShoppingBag = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ShoppingCart = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Shuffle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Sidebar = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const SkipBack = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const SkipForward = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Slack = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Slash = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Sliders = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Smartphone = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Smile = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Speaker = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Square = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Star = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const StopCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Sun = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Sunrise = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Sunset = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Tablet = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Tag = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Target = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Terminal = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Thermometer = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ThumbsDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ThumbsUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ToggleLeft = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ToggleRight = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Tool = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Trash2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Trash = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Trello = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const TrendingDown = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const TrendingUp = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Triangle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Truck = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Tv = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Twitch = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Twitter = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Type = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Umbrella = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Underline = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Unlock = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const UploadCloud = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Upload = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const UserCheck = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const UserMinus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const UserPlus = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const UserX = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const User = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Users = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const VideoOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Video = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Voicemail = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Volume1 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Volume2 = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const VolumeX = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Volume = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Watch = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const WifiOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Wifi = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Wind = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const XCircle = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const XOctagon = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const XSquare = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const X = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Youtube = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ZapOff = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const Zap = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ZoomIn = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( { +const ZoomOut = forwardRef(({ color = 'currentColor', size = "1em", ...rest }, ref) => { return ( import { FC, SVGAttributes } from 'react'; -interface Props extends SVGAttributes { +export interface IconProps extends SVGAttributes { color?: string; size?: string | number; } -type Icon = FC; +export type Icon = FC; export const Activity: Icon; export const Airplay: Icon; export const AlertCircle: Icon;