File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import { cn } from '@/lib/utils' ;
22import { 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}
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import { Head } from '@inertiajs/react';
22
33import AppearanceTabs from '@/components/appearance-tabs' ;
44import HeadingSmall from '@/components/heading-small' ;
5- import { type BreadcrumbItem } from '@/types' ;
5+ import { type IBreadcrumbItem } from '@/types' ;
66
77import AppLayout from '@/layouts/app-layout' ;
88import SettingsLayout from '@/layouts/settings/layout' ;
99
10- const breadcrumbs : BreadcrumbItem [ ] = [
10+ const breadcrumbs : IBreadcrumbItem [ ] = [
1111 {
1212 title : 'Appearance settings' ,
1313 href : '/settings/appearance' ,
Original file line number Diff line number Diff line change 11import InputError from '@/components/input-error' ;
22import AppLayout from '@/layouts/app-layout' ;
33import SettingsLayout from '@/layouts/settings/layout' ;
4- import { type BreadcrumbItem } from '@/types' ;
4+ import { type IBreadcrumbItem } from '@/types' ;
55import { Transition } from '@headlessui/react' ;
66import { Head , useForm } from '@inertiajs/react' ;
77import { FormEventHandler , useRef } from 'react' ;
@@ -11,7 +11,7 @@ import { Button } from '@/components/ui/button';
1111import { Input } from '@/components/ui/input' ;
1212import { Label } from '@/components/ui/label' ;
1313
14- const breadcrumbs : BreadcrumbItem [ ] = [
14+ const breadcrumbs : IBreadcrumbItem [ ] = [
1515 {
1616 title : 'Password settings' ,
1717 href : '/settings/password' ,
Original file line number Diff line number Diff line change 1- import { type SharedData } from '@/types' ;
1+ import { type ISharedData } from '@/types' ;
22import { Head , Link , usePage } from '@inertiajs/react' ;
33
44export default function Welcome ( ) {
5- const { auth } = usePage < SharedData > ( ) . props ;
5+ const { auth } = usePage < ISharedData > ( ) . props ;
66
77 return (
88 < >
You can’t perform that action at this time.
0 commit comments