nayan
Version:
<div align="center"> <img width="200" src="https://github.com/ursnj/nayan/blob/main/public/nayan.png?raw=true"> </div> <h1 align="center">Nayan UI</h1>
158 lines (157 loc) • 4.46 kB
TypeScript
/// <reference types="react" />
export declare const getMenuItem: (path: string) => {
title: string;
description: string;
link: string;
isHeading: boolean;
icon?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
attributes: {
name: string;
type: string;
default: string;
details: string;
}[];
code: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isComponent: boolean;
isHeading?: undefined;
} | {
title: string;
description: string;
link: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
isComponent?: undefined;
} | undefined;
export declare const getMenuItemByTag: (tag: string) => {
title: string;
description: string;
link: string;
isHeading: boolean;
icon?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
attributes: {
name: string;
type: string;
default: string;
details: string;
}[];
code: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isComponent: boolean;
isHeading?: undefined;
} | {
title: string;
description: string;
link: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
isComponent?: undefined;
} | undefined;
export declare const sidebarItems: ({
title: string;
description: string;
link: string;
isHeading: boolean;
icon?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
tags?: undefined;
isComponent?: undefined;
} | {
title: string;
description: string;
link: string;
attributes: {
name: string;
type: string;
default: string;
details: string;
}[];
code: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isComponent: boolean;
isHeading?: undefined;
} | {
title: string;
description: string;
link: string;
tags: {
sku: string;
text: string;
}[];
icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
isHeading?: undefined;
attributes?: undefined;
code?: undefined;
isComponent?: undefined;
})[];