wini-web-components 1.9.9 → 2.0.1
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.
|
@@ -107,7 +107,7 @@ var ImportFile = /** @class */ (function (_super) {
|
|
|
107
107
|
if (_this.props.onChange)
|
|
108
108
|
_this.props.onChange(undefined);
|
|
109
109
|
} }, closeSvg))
|
|
110
|
-
: react_1.default.createElement(index_1.Button, { label: this.state.preview ? 'Remove file' : 'Choose file', style: {
|
|
110
|
+
: react_1.default.createElement(index_1.Button, { label: this.state.preview ? 'Remove file' : 'Choose file', style: { padding: "1.2rem" }, className: 'button-text-4', onClick: function () {
|
|
111
111
|
if (_this.state.preview) {
|
|
112
112
|
_this.setState(__assign(__assign({}, _this.state), { preview: null }));
|
|
113
113
|
if (_this.props.onChange)
|