@digigov/react-experimental 2.0.0-rc.3 → 2.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -2,10 +2,9 @@ import React from 'react';
|
|
|
2
2
|
export declare const getClosingTags: (htmlString: any) => string[];
|
|
3
3
|
export interface SafeHTMLProps {
|
|
4
4
|
content: string;
|
|
5
|
-
className?: string;
|
|
6
5
|
tags?: Array<string>;
|
|
7
6
|
Tag?: string;
|
|
8
7
|
style?: React.CSSProperties;
|
|
9
8
|
}
|
|
10
|
-
export declare const SafeHTML: ({ content, tags, Tag,
|
|
9
|
+
export declare const SafeHTML: ({ content, tags, Tag, ...props }: SafeHTMLProps) => JSX.Element;
|
|
11
10
|
export default SafeHTML;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-experimental",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.4",
|
|
4
4
|
"description": "@digigov react experimental components",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
7
7
|
"main": "./cjs/index.js",
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@digigov/css": "2.0.0-rc.
|
|
11
|
-
"@digigov/react-icons": "2.0.0-rc.
|
|
12
|
-
"@digigov/ui": "2.0.0-rc.
|
|
13
|
-
"@digigov/react-core": "2.0.0-rc.
|
|
10
|
+
"@digigov/css": "2.0.0-rc.4",
|
|
11
|
+
"@digigov/react-icons": "2.0.0-rc.4",
|
|
12
|
+
"@digigov/ui": "2.0.0-rc.4",
|
|
13
|
+
"@digigov/react-core": "2.0.0-rc.4",
|
|
14
14
|
"clsx": "1.1.1",
|
|
15
15
|
"react": "^16.8.0 || ^17.0.0",
|
|
16
16
|
"react-dom": "^16.8.0 || ^17.0.0"
|