no more default export
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ArrowLeftIcon(
|
||||
export function ArrowLeftIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ArrowRightIcon(
|
||||
export function ArrowRightIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function BellIcon(
|
||||
export function BellIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function CancelIcon(
|
||||
export function CancelIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function CheckCircleIcon(
|
||||
export function CheckCircleIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ChevronDownIcon(
|
||||
export function ChevronDownIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ChevronRightIcon(
|
||||
export function ChevronRightIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ComposeIcon(
|
||||
export function ComposeIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function CopyIcon(
|
||||
export function CopyIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function EditIcon(
|
||||
export function EditIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function EyeOffIcon(
|
||||
export function EyeOffIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function EyeOnIcon(
|
||||
export function EyeOnIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function HeartBeatIcon(
|
||||
export function HeartBeatIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function HideIcon(
|
||||
export function HideIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
31
src/shared/icons/index.tsx
Normal file
31
src/shared/icons/index.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
// @index('./*.tsx', f => `export * from '${f.path}'`)
|
||||
export * from "./arrowLeft";
|
||||
export * from "./arrowRight";
|
||||
export * from "./bell";
|
||||
export * from "./cancel";
|
||||
export * from "./checkCircle";
|
||||
export * from "./chevronDown";
|
||||
export * from "./chevronRight";
|
||||
export * from "./compose";
|
||||
export * from "./copy";
|
||||
export * from "./edit";
|
||||
export * from "./eyeOff";
|
||||
export * from "./eyeOn";
|
||||
export * from "./heartbeat";
|
||||
export * from "./hide";
|
||||
export * from "./like";
|
||||
export * from "./lume";
|
||||
export * from "./mute";
|
||||
export * from "./myspace";
|
||||
export * from "./navArrowDown";
|
||||
export * from "./plus";
|
||||
export * from "./plusCircle";
|
||||
export * from "./refresh";
|
||||
export * from "./reply";
|
||||
export * from "./replyMessage";
|
||||
export * from "./repost";
|
||||
export * from "./threads";
|
||||
export * from "./trash";
|
||||
export * from "./world";
|
||||
export * from "./zap";
|
||||
// @endindex
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function LikeIcon(
|
||||
export function LikeIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default function LumeIcon({ className }: { className: string }) {
|
||||
export function LumeIcon({ className }: { className: string }) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function MuteIcon(
|
||||
export function MuteIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function MyspaceIcon(
|
||||
export function MyspaceIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function NavArrowDownIcon(
|
||||
export function NavArrowDownIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function PlusIcon(
|
||||
export function PlusIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function PlusCircleIcon(
|
||||
export function PlusCircleIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function RefreshIcon(
|
||||
export function RefreshIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ReplyIcon(
|
||||
export function ReplyIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ReplyMessageIcon(
|
||||
export function ReplyMessageIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function RepostIcon(
|
||||
export function RepostIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ThreadsIcon(
|
||||
export function ThreadsIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function TrashIcon(
|
||||
export function TrashIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function WorldIcon(
|
||||
export function WorldIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SVGProps } from "react";
|
||||
|
||||
export default function ZapIcon(
|
||||
export function ZapIcon(
|
||||
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
|
||||
) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user