fix: small ui nits (#1178)

This commit is contained in:
josh 2025-09-09 22:19:34 +01:00 committed by GitHub
parent 848205f5cb
commit eae41c635d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 50 additions and 49 deletions

View file

@ -515,14 +515,15 @@ export const InfoIcon = ({ size = 16 }: { size?: number }) => {
);
};
export const ArrowUpIcon = ({ size = 16 }: { size?: number }) => {
export const ArrowUpIcon = ({ size = 16, ...props }: { size?: number } & React.SVGProps<SVGSVGElement>) => {
return (
<svg
height={size}
strokeLinejoin="round"
viewBox="0 0 16 16"
width={size}
style={{ color: 'currentcolor' }}
style={{ color: 'currentcolor', ...props.style }}
{...props}
>
<path
fillRule="evenodd"
@ -534,13 +535,14 @@ export const ArrowUpIcon = ({ size = 16 }: { size?: number }) => {
);
};
export const StopIcon = ({ size = 16 }: { size?: number }) => {
export const StopIcon = ({ size = 16, ...props }: { size?: number } & React.SVGProps<SVGSVGElement>) => {
return (
<svg
height={size}
viewBox="0 0 16 16"
width={size}
style={{ color: 'currentcolor' }}
style={{ color: 'currentcolor', ...props.style }}
{...props}
>
<path
fillRule="evenodd"
@ -552,15 +554,16 @@ export const StopIcon = ({ size = 16 }: { size?: number }) => {
);
};
export const PaperclipIcon = ({ size = 16 }: { size?: number }) => {
export const PaperclipIcon = ({ size = 16, ...props }: { size?: number } & React.SVGProps<SVGSVGElement>) => {
return (
<svg
height={size}
strokeLinejoin="round"
viewBox="0 0 16 16"
width={size}
style={{ color: 'currentcolor' }}
style={{ color: 'currentcolor', ...props.style }}
className="-rotate-45"
{...props}
>
<path
fillRule="evenodd"