mario-education 2.3.2 → 2.3.3

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.
@@ -5,6 +5,7 @@ interface Props {
5
5
  text: string;
6
6
  backgroundColor: string;
7
7
  onClick: Function;
8
+ isClassReflection?: boolean;
8
9
  }
9
10
  declare const UploadCSVButton: FC<Props>;
10
11
  export default UploadCSVButton;
package/dist/index.js CHANGED
@@ -5188,12 +5188,13 @@ var UploadCSVButton = function UploadCSVButton(_ref) {
5188
5188
  isDisabled = _ref.isDisabled,
5189
5189
  text = _ref.text,
5190
5190
  backgroundColor = _ref.backgroundColor,
5191
- _onClick = _ref.onClick;
5191
+ _onClick = _ref.onClick,
5192
+ isClassReflection = _ref.isClassReflection;
5192
5193
  return React__default.createElement(reactstrap.Label, {
5193
5194
  htmlFor: htmlFor,
5194
5195
  role: "button",
5195
5196
  tabIndex: 0,
5196
- className: "d-flex align-items-center justfy-content-center " + (!isDisabled ? "cursor-pointer hover-opacity" : ""),
5197
+ className: "d-flex align-items-center justfy-content-center \n " + (isClassReflection ? "w-25" : "") + "\n " + (!isDisabled ? "cursor-pointer hover-opacity" : ""),
5197
5198
  style: _extends({}, style, {
5198
5199
  backgroundColor: backgroundColor,
5199
5200
  opacity: !isDisabled ? 1 : 0.5
@@ -5478,8 +5479,9 @@ var CSVImport = function CSVImport() {
5478
5479
  text: "Upload File Class Reflection"
5479
5480
  }), React__default.createElement(UploadCSVButton, {
5480
5481
  key: "Import class reflections",
5482
+ isClassReflection: true,
5481
5483
  htmlFor: id,
5482
- text: "Import class reflections",
5484
+ text: "Upload File",
5483
5485
  isDisabled: isLoading,
5484
5486
  backgroundColor: "#e74c3c",
5485
5487
  onClick: function onClick() {