Skip to content

Commit

Permalink
fix(icons): use svg ComponentsProps instead of custom ones
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedasilva committed Oct 12, 2023
1 parent f13c16e commit 42799f2
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions packages/react/lib/icons.d.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
import { ReactNode } from 'react';
import { ComponentPropsWithoutRef, ReactNode } from 'react';

export function Arrows({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function Arrows(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function Remove({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function Remove(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function ArrowLeft({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function ArrowLeft(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function ArrowRight({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function ArrowRight(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function ArrowDown({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function ArrowDown(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function ArrowUp({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function ArrowUp(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function Time({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function Time(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

export function Check({
className,
}: { className?: string}): ReactNode | JSX.Element;
export function Check(
props: ComponentPropsWithoutRef<'svg'>
): ReactNode | JSX.Element;

0 comments on commit 42799f2

Please sign in to comment.