We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ed1f8 commit 26061deCopy full SHA for 26061de
index.d.ts
@@ -1,9 +1,9 @@
1
-declare module 'react-string-replace' {
+declare module "react-string-replace" {
2
function reactStringReplace(
3
- text?: string | React.ReactNodeArray,
4
- regex?: string | RegExp,
+ text?: string | React.ReactNode[],
+ regex?: string | RegExp,
5
cb?: (match: string, index: number, offset: number) => React.ReactNode
6
- ): React.ReactNodeArray;
+ ): React.ReactNode[];
7
8
export default reactStringReplace;
9
}
0 commit comments