Skip to content

Commit

Permalink
added react-katex
Browse files Browse the repository at this point in the history
xeroxis-xs committed Sep 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 98c6e6c commit e0cf928
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions react-katex.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
declare module 'react-katex' {
import * as React from 'react';

export interface InlineMathProps {
math: string;
}

export class InlineMath extends React.Component<InlineMathProps> {}

export interface BlockMathProps {
math: string;
}

export class BlockMath extends React.Component<BlockMathProps> {}
}

0 comments on commit e0cf928

Please sign in to comment.