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:
Han Yeong-woo
2024-02-01 22:38:21 +09:00
committed by GitHub
parent b96e6acd2e
commit eb035fe370
1520 changed files with 3644 additions and 3204 deletions

View File

@@ -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>;