@uncinc/uncinc-react-kitchen-sink 2.21.1 → 2.21.2
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.
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
html: any;
|
|
5
|
-
customElementHandler?: (() => void) | undefined;
|
|
6
|
-
className?: string | undefined;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
declare namespace WysiwygField {
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
let html: PropTypes.Validator<string>;
|
|
11
|
-
let customElementHandler: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
-
let className: PropTypes.Requireable<string>;
|
|
13
|
-
let id: PropTypes.Requireable<string>;
|
|
14
|
-
}
|
|
15
|
-
namespace defaultProps {
|
|
16
|
-
export function customElementHandler_1(): void;
|
|
17
|
-
export { customElementHandler_1 as customElementHandler };
|
|
18
|
-
let className_1: string;
|
|
19
|
-
export { className_1 as className };
|
|
20
|
-
let id_1: null;
|
|
21
|
-
export { id_1 as id };
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
2
|
+
export default _default;
|
|
24
3
|
import React from 'react';
|
|
25
|
-
import PropTypes from 'prop-types';
|
|
@@ -6,6 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import ReactHtmlParser from 'react-html-parser';
|
|
8
8
|
import c from 'classnames';
|
|
9
|
+
import withMapping from '../../Context/withMapping';
|
|
9
10
|
import Button from '../Button';
|
|
10
11
|
var WysiwygField = function WysiwygField(_ref) {
|
|
11
12
|
var html = _ref.html,
|
|
@@ -60,4 +61,4 @@ WysiwygField.defaultProps = {
|
|
|
60
61
|
className: '',
|
|
61
62
|
id: null
|
|
62
63
|
};
|
|
63
|
-
export default WysiwygField;
|
|
64
|
+
export default withMapping(WysiwygField);
|