Skip to content

Commit a23e206

Browse files
Renaming interfaces with leading i
1 parent 1c9e79a commit a23e206

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

resources/js/components/icon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { cn } from '@/lib/utils';
22
import { type LucideProps } from 'lucide-react';
33

4-
interface IconProps extends Omit<LucideProps, 'ref'> {
4+
interface IIconProps extends Omit<LucideProps, 'ref'> {
55
iconNode: React.ComponentType<LucideProps>;
66
}
77

8-
export function Icon({ iconNode: IconComponent, className, ...props }: IconProps) {
8+
export function Icon({ iconNode: IconComponent, className, ...props }: IIconProps) {
99
return <IconComponent className={cn('h-4 w-4', className)} {...props} />;
1010
}

resources/js/pages/settings/appearance.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { Head } from '@inertiajs/react';
22

33
import AppearanceTabs from '@/components/appearance-tabs';
44
import HeadingSmall from '@/components/heading-small';
5-
import { type BreadcrumbItem } from '@/types';
5+
import { type IBreadcrumbItem } from '@/types';
66

77
import AppLayout from '@/layouts/app-layout';
88
import SettingsLayout from '@/layouts/settings/layout';
99

10-
const breadcrumbs: BreadcrumbItem[] = [
10+
const breadcrumbs: IBreadcrumbItem[] = [
1111
{
1212
title: 'Appearance settings',
1313
href: '/settings/appearance',

resources/js/pages/settings/password.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import InputError from '@/components/input-error';
22
import AppLayout from '@/layouts/app-layout';
33
import SettingsLayout from '@/layouts/settings/layout';
4-
import { type BreadcrumbItem } from '@/types';
4+
import { type IBreadcrumbItem } from '@/types';
55
import { Transition } from '@headlessui/react';
66
import { Head, useForm } from '@inertiajs/react';
77
import { FormEventHandler, useRef } from 'react';
@@ -11,7 +11,7 @@ import { Button } from '@/components/ui/button';
1111
import { Input } from '@/components/ui/input';
1212
import { Label } from '@/components/ui/label';
1313

14-
const breadcrumbs: BreadcrumbItem[] = [
14+
const breadcrumbs: IBreadcrumbItem[] = [
1515
{
1616
title: 'Password settings',
1717
href: '/settings/password',

resources/js/pages/welcome.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { type SharedData } from '@/types';
1+
import { type ISharedData } from '@/types';
22
import { Head, Link, usePage } from '@inertiajs/react';
33

44
export default function Welcome() {
5-
const { auth } = usePage<SharedData>().props;
5+
const { auth } = usePage<ISharedData>().props;
66

77
return (
88
<>

0 commit comments

Comments
 (0)