mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Update dependencies and fix introduced errors
This commit is contained in:
Vendored
+5
-28
@@ -1,37 +1,14 @@
|
||||
declare module '@mdx-js/react' {
|
||||
import * as React from 'react';
|
||||
type ComponentType =
|
||||
| 'a'
|
||||
| 'blockquote'
|
||||
| 'code'
|
||||
| 'del'
|
||||
| 'em'
|
||||
| 'h1'
|
||||
| 'h2'
|
||||
| 'h3'
|
||||
| 'h4'
|
||||
| 'h5'
|
||||
| 'h6'
|
||||
| 'hr'
|
||||
| 'img'
|
||||
| 'inlineCode'
|
||||
| 'li'
|
||||
| 'ol'
|
||||
| 'p'
|
||||
| 'pre'
|
||||
| 'strong'
|
||||
| 'sup'
|
||||
| 'table'
|
||||
| 'td'
|
||||
| 'thematicBreak'
|
||||
| 'tr'
|
||||
| 'ul';
|
||||
|
||||
export type Components = {
|
||||
[key in ComponentType]?: React.ComponentType<any>;
|
||||
[key]?: React.ComponentType<any>;
|
||||
};
|
||||
|
||||
export interface MDXProviderProps {
|
||||
children: React.ReactNode;
|
||||
components: Components;
|
||||
components?: Components;
|
||||
}
|
||||
|
||||
export class MDXProvider extends React.Component<MDXProviderProps> {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user