From ff287665f92e34d05eb31a9801cc0b2005e6d0d6 Mon Sep 17 00:00:00 2001 From: srgooglo <38926803+srgooglo@users.noreply.github.com> Date: Sun, 3 May 2020 22:32:47 +0200 Subject: [PATCH 1/8] Change Default size to 1em --- src/icons/activity.js | 2 +- src/icons/airplay.js | 2 +- src/icons/alert-circle.js | 2 +- src/icons/alert-octagon.js | 2 +- src/icons/alert-triangle.js | 2 +- src/icons/align-center.js | 2 +- src/icons/align-justify.js | 2 +- src/icons/align-left.js | 2 +- src/icons/align-right.js | 2 +- src/icons/anchor.js | 2 +- src/icons/aperture.js | 2 +- src/icons/archive.js | 2 +- src/icons/arrow-down-circle.js | 2 +- src/icons/arrow-down-left.js | 2 +- src/icons/arrow-down-right.js | 2 +- src/icons/arrow-down.js | 2 +- src/icons/arrow-left-circle.js | 2 +- src/icons/arrow-left.js | 2 +- src/icons/arrow-right-circle.js | 2 +- src/icons/arrow-right.js | 2 +- src/icons/arrow-up-circle.js | 2 +- src/icons/arrow-up-left.js | 2 +- src/icons/arrow-up-right.js | 2 +- src/icons/arrow-up.js | 2 +- src/icons/at-sign.js | 2 +- src/icons/award.js | 2 +- src/icons/bar-chart-2.js | 2 +- src/icons/bar-chart.js | 2 +- src/icons/battery-charging.js | 2 +- src/icons/battery.js | 2 +- src/icons/bell-off.js | 2 +- src/icons/bell.js | 2 +- src/icons/bluetooth.js | 2 +- src/icons/bold.js | 2 +- src/icons/book-open.js | 2 +- src/icons/book.js | 2 +- src/icons/bookmark.js | 2 +- src/icons/box.js | 2 +- src/icons/briefcase.js | 2 +- src/icons/calendar.js | 2 +- src/icons/camera-off.js | 2 +- src/icons/camera.js | 2 +- src/icons/cast.js | 2 +- src/icons/check-circle.js | 2 +- src/icons/check-square.js | 2 +- src/icons/check.js | 2 +- src/icons/chevron-down.js | 2 +- src/icons/chevron-left.js | 2 +- src/icons/chevron-right.js | 2 +- src/icons/chevron-up.js | 2 +- src/icons/chevrons-down.js | 2 +- src/icons/chevrons-left.js | 2 +- src/icons/chevrons-right.js | 2 +- src/icons/chevrons-up.js | 2 +- src/icons/chrome.js | 2 +- src/icons/circle.js | 2 +- src/icons/clipboard.js | 2 +- src/icons/clock.js | 2 +- src/icons/cloud-drizzle.js | 2 +- src/icons/cloud-lightning.js | 2 +- src/icons/cloud-off.js | 2 +- src/icons/cloud-rain.js | 2 +- src/icons/cloud-snow.js | 2 +- src/icons/cloud.js | 2 +- src/icons/code.js | 2 +- src/icons/codepen.js | 2 +- src/icons/codesandbox.js | 2 +- src/icons/coffee.js | 2 +- src/icons/columns.js | 2 +- src/icons/command.js | 2 +- src/icons/compass.js | 2 +- src/icons/copy.js | 2 +- src/icons/corner-down-left.js | 2 +- src/icons/corner-down-right.js | 2 +- src/icons/corner-left-down.js | 2 +- src/icons/corner-left-up.js | 2 +- src/icons/corner-right-down.js | 2 +- src/icons/corner-right-up.js | 2 +- src/icons/corner-up-left.js | 2 +- src/icons/corner-up-right.js | 2 +- src/icons/cpu.js | 2 +- src/icons/credit-card.js | 2 +- src/icons/crop.js | 2 +- src/icons/crosshair.js | 2 +- src/icons/database.js | 2 +- src/icons/delete.js | 2 +- src/icons/disc.js | 2 +- src/icons/divide-circle.js | 2 +- src/icons/divide-square.js | 2 +- src/icons/divide.js | 2 +- src/icons/dollar-sign.js | 2 +- src/icons/download-cloud.js | 2 +- src/icons/download.js | 2 +- src/icons/dribbble.js | 2 +- src/icons/droplet.js | 2 +- src/icons/edit-2.js | 2 +- src/icons/edit-3.js | 2 +- src/icons/edit.js | 2 +- src/icons/external-link.js | 2 +- src/icons/eye-off.js | 2 +- src/icons/eye.js | 2 +- src/icons/facebook.js | 2 +- src/icons/fast-forward.js | 2 +- src/icons/feather.js | 2 +- src/icons/figma.js | 2 +- src/icons/file-minus.js | 2 +- src/icons/file-plus.js | 2 +- src/icons/file-text.js | 2 +- src/icons/file.js | 2 +- src/icons/film.js | 2 +- src/icons/filter.js | 2 +- src/icons/flag.js | 2 +- src/icons/folder-minus.js | 2 +- src/icons/folder-plus.js | 2 +- src/icons/folder.js | 2 +- src/icons/framer.js | 2 +- src/icons/frown.js | 2 +- src/icons/gift.js | 2 +- src/icons/git-branch.js | 2 +- src/icons/git-commit.js | 2 +- src/icons/git-merge.js | 2 +- src/icons/git-pull-request.js | 2 +- src/icons/github.js | 2 +- src/icons/gitlab.js | 2 +- src/icons/globe.js | 2 +- src/icons/grid.js | 2 +- src/icons/hard-drive.js | 2 +- src/icons/hash.js | 2 +- src/icons/headphones.js | 2 +- src/icons/heart.js | 2 +- src/icons/help-circle.js | 2 +- src/icons/hexagon.js | 2 +- src/icons/home.js | 2 +- src/icons/image.js | 2 +- src/icons/inbox.js | 2 +- src/icons/info.js | 2 +- src/icons/instagram.js | 2 +- src/icons/italic.js | 2 +- src/icons/key.js | 2 +- src/icons/layers.js | 2 +- src/icons/layout.js | 2 +- src/icons/life-buoy.js | 2 +- src/icons/link-2.js | 2 +- src/icons/link.js | 2 +- src/icons/linkedin.js | 2 +- src/icons/list.js | 2 +- src/icons/loader.js | 2 +- src/icons/lock.js | 2 +- src/icons/log-in.js | 2 +- src/icons/log-out.js | 2 +- src/icons/mail.js | 2 +- src/icons/map-pin.js | 2 +- src/icons/map.js | 2 +- src/icons/maximize-2.js | 2 +- src/icons/maximize.js | 2 +- src/icons/meh.js | 2 +- src/icons/menu.js | 2 +- src/icons/message-circle.js | 2 +- src/icons/message-square.js | 2 +- src/icons/mic-off.js | 2 +- src/icons/mic.js | 2 +- src/icons/minimize-2.js | 2 +- src/icons/minimize.js | 2 +- src/icons/minus-circle.js | 2 +- src/icons/minus-square.js | 2 +- src/icons/minus.js | 2 +- src/icons/monitor.js | 2 +- src/icons/moon.js | 2 +- src/icons/more-horizontal.js | 2 +- src/icons/more-vertical.js | 2 +- src/icons/mouse-pointer.js | 2 +- src/icons/move.js | 2 +- src/icons/music.js | 2 +- src/icons/navigation-2.js | 2 +- src/icons/navigation.js | 2 +- src/icons/octagon.js | 2 +- src/icons/package.js | 2 +- src/icons/paperclip.js | 2 +- src/icons/pause-circle.js | 2 +- src/icons/pause.js | 2 +- src/icons/pen-tool.js | 2 +- src/icons/percent.js | 2 +- src/icons/phone-call.js | 2 +- src/icons/phone-forwarded.js | 2 +- src/icons/phone-incoming.js | 2 +- src/icons/phone-missed.js | 2 +- src/icons/phone-off.js | 2 +- src/icons/phone-outgoing.js | 2 +- src/icons/phone.js | 2 +- src/icons/pie-chart.js | 2 +- src/icons/play-circle.js | 2 +- src/icons/play.js | 2 +- src/icons/plus-circle.js | 2 +- src/icons/plus-square.js | 2 +- src/icons/plus.js | 2 +- src/icons/pocket.js | 2 +- src/icons/power.js | 2 +- src/icons/printer.js | 2 +- src/icons/radio.js | 2 +- src/icons/refresh-ccw.js | 2 +- src/icons/refresh-cw.js | 2 +- src/icons/repeat.js | 2 +- src/icons/rewind.js | 2 +- src/icons/rotate-ccw.js | 2 +- src/icons/rotate-cw.js | 2 +- src/icons/rss.js | 2 +- src/icons/save.js | 2 +- src/icons/scissors.js | 2 +- src/icons/search.js | 2 +- src/icons/send.js | 2 +- src/icons/server.js | 2 +- src/icons/settings.js | 2 +- src/icons/share-2.js | 2 +- src/icons/share.js | 2 +- src/icons/shield-off.js | 2 +- src/icons/shield.js | 2 +- src/icons/shopping-bag.js | 2 +- src/icons/shopping-cart.js | 2 +- src/icons/shuffle.js | 2 +- src/icons/sidebar.js | 2 +- src/icons/skip-back.js | 2 +- src/icons/skip-forward.js | 2 +- src/icons/slack.js | 2 +- src/icons/slash.js | 2 +- src/icons/sliders.js | 2 +- src/icons/smartphone.js | 2 +- src/icons/smile.js | 2 +- src/icons/speaker.js | 2 +- src/icons/square.js | 2 +- src/icons/star.js | 2 +- src/icons/stop-circle.js | 2 +- src/icons/sun.js | 2 +- src/icons/sunrise.js | 2 +- src/icons/sunset.js | 2 +- src/icons/tablet.js | 2 +- src/icons/tag.js | 2 +- src/icons/target.js | 2 +- src/icons/terminal.js | 2 +- src/icons/thermometer.js | 2 +- src/icons/thumbs-down.js | 2 +- src/icons/thumbs-up.js | 2 +- src/icons/toggle-left.js | 2 +- src/icons/toggle-right.js | 2 +- src/icons/tool.js | 2 +- src/icons/trash-2.js | 2 +- src/icons/trash.js | 2 +- src/icons/trello.js | 2 +- src/icons/trending-down.js | 2 +- src/icons/trending-up.js | 2 +- src/icons/triangle.js | 2 +- src/icons/truck.js | 2 +- src/icons/tv.js | 2 +- src/icons/twitch.js | 2 +- src/icons/twitter.js | 2 +- src/icons/type.js | 2 +- src/icons/umbrella.js | 2 +- src/icons/underline.js | 2 +- src/icons/unlock.js | 2 +- src/icons/upload-cloud.js | 2 +- src/icons/upload.js | 2 +- src/icons/user-check.js | 2 +- src/icons/user-minus.js | 2 +- src/icons/user-plus.js | 2 +- src/icons/user-x.js | 2 +- src/icons/user.js | 2 +- src/icons/users.js | 2 +- src/icons/video-off.js | 2 +- src/icons/video.js | 2 +- src/icons/voicemail.js | 2 +- src/icons/volume-1.js | 2 +- src/icons/volume-2.js | 2 +- src/icons/volume-x.js | 2 +- src/icons/volume.js | 2 +- src/icons/watch.js | 2 +- src/icons/wifi-off.js | 2 +- src/icons/wifi.js | 2 +- src/icons/wind.js | 2 +- src/icons/x-circle.js | 2 +- src/icons/x-octagon.js | 2 +- src/icons/x-square.js | 2 +- src/icons/x.js | 2 +- src/icons/youtube.js | 2 +- src/icons/zap-off.js | 2 +- src/icons/zap.js | 2 +- src/icons/zoom-in.js | 2 +- src/icons/zoom-out.js | 2 +- 286 files changed, 286 insertions(+), 286 deletions(-) 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 ( Date: Wed, 21 Oct 2020 10:06:32 -0700 Subject: [PATCH 2/8] Export IconProps typedef so projects can re-use - exporting IconProps so it can be available to TypeScript components using react-feather - as is it needs to duplicated, which is fragile because react-feather could change - renamed "Props" to "IconProps" --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index ae32e9e6..28cf40dd 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,12 +1,12 @@ /// import { FC, SVGAttributes } from 'react'; -interface Props extends SVGAttributes { +export interface IconProps extends SVGAttributes { color?: string; size?: string | number; } -type Icon = FC; +type Icon = FC; export const Activity: Icon; export const Airplay: Icon; export const AlertCircle: Icon; From 16c5bae57d3e30f42c8dcc0d688a0099921a76ce Mon Sep 17 00:00:00 2001 From: Scott Becker Date: Wed, 21 Oct 2020 10:10:06 -0700 Subject: [PATCH 3/8] Export Icon as well --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 28cf40dd..94e32077 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -6,7 +6,7 @@ export interface IconProps extends SVGAttributes { size?: string | number; } -type Icon = FC; +export type Icon = FC; export const Activity: Icon; export const Airplay: Icon; export const AlertCircle: Icon; From 5a5e868f47b11d79cdf105a246a27d705ad25a2b Mon Sep 17 00:00:00 2001 From: Anthony Tesija Date: Thu, 22 Oct 2020 14:33:25 -0700 Subject: [PATCH 4/8] Add link to feather icons We want to be able to preview the icons in this package so a link is helpful! --- README.md | 1 + 1 file changed, 1 insertion(+) 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 From 933d62c9dccf5738ade51c9ff6b98f8795d93ebf Mon Sep 17 00:00:00 2001 From: George Cheng Date: Thu, 29 Oct 2020 00:54:36 +0000 Subject: [PATCH 5/8] Add React@^17 to peerDependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 87628231..c5c65051 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "uppercamelcase": "^3.0.0" }, "peerDependencies": { - "react": "^16.8.6" + "react": "^16.8.6 || ^17" }, "dependencies": { "prop-types": "^15.7.2" From 11f51d6f29767256a7499dcb0ac0b22a44eadb5e Mon Sep 17 00:00:00 2001 From: Carmelo Date: Tue, 17 Nov 2020 09:45:59 +0100 Subject: [PATCH 6/8] Update build script --- bin/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/build.js b/bin/build.js index f8f49c4b..45036e8d 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'); From c9698fa53e4bd577cdeffce18b054b97a3d765fc Mon Sep 17 00:00:00 2001 From: Carmelo Date: Tue, 17 Nov 2020 09:46:06 +0100 Subject: [PATCH 7/8] 2.0.9 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 c5c65051..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", From eeebaed58fee9867e56f2e0452619eddf18ea36c Mon Sep 17 00:00:00 2001 From: srgooglo Date: Sun, 22 Nov 2020 05:13:55 +0100 Subject: [PATCH 8/8] changed default size measure --- bin/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build.js b/bin/build.js index 45036e8d..1c177ecf 100644 --- a/bin/build.js +++ b/bin/build.js @@ -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]}