mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-24 08:39:23 +01:00
Improve formatting (#1814)
* Ignore linting for examples in docs * Formatting JSX single attribute per line * Separte `format` and `lint:format` in package.json * Bump prettier version * Run format
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
/// <reference types="react" />
|
||||
|
||||
declare module 'lucide-react-native'
|
||||
declare module 'lucide-react-native';
|
||||
|
||||
// Create interface extending SVGProps
|
||||
export interface LucideProps extends Partial<React.SVGProps<SVGSVGElement>> {
|
||||
size?: string | number
|
||||
size?: string | number;
|
||||
}
|
||||
|
||||
export declare const createLucideIcon: (iconName: string, iconNode: any[]) => (props: LucideProps) => JSX.Element;
|
||||
export declare const createLucideIcon: (
|
||||
iconName: string,
|
||||
iconNode: any[],
|
||||
) => (props: LucideProps) => JSX.Element;
|
||||
|
||||
export type Icon = React.FC<LucideProps>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user