Skip to content

Commit

Permalink
fix snapshots tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Mar 21, 2023
1 parent 22e7676 commit ff02b36
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

exports[`react component properties 9832-ts-enum-export 1`] = `
"import React from 'react';
export let EnumWithExtraProps;
(function (EnumWithExtraProps) {
export let EnumWithExtraProps = /*#__PURE__*/function (EnumWithExtraProps) {
EnumWithExtraProps[\\"key1\\"] = \\"key1\\";
EnumWithExtraProps[\\"key2\\"] = \\"key2\\";
})(EnumWithExtraProps || (EnumWithExtraProps = {}));
return EnumWithExtraProps;
}({});
export const component = () => /*#__PURE__*/React.createElement(\\"div\\", null, \\"hello\\");
component.__docgenInfo = {
\\"description\\": \\"\\",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ exports[`react component properties ts-types 1`] = `
function concat(a, b) {
return a + b;
}
var DefaultEnum;
(function (DefaultEnum) {
var DefaultEnum = /*#__PURE__*/function (DefaultEnum) {
DefaultEnum[DefaultEnum[\\"TopLeft\\"] = 0] = \\"TopLeft\\";
DefaultEnum[DefaultEnum[\\"TopRight\\"] = 1] = \\"TopRight\\";
DefaultEnum[DefaultEnum[\\"TopCenter\\"] = 2] = \\"TopCenter\\";
})(DefaultEnum || (DefaultEnum = {}));
var NumericEnum;
(function (NumericEnum) {
return DefaultEnum;
}(DefaultEnum || {});
var NumericEnum = /*#__PURE__*/function (NumericEnum) {
NumericEnum[NumericEnum[\\"TopLeft\\"] = 0] = \\"TopLeft\\";
NumericEnum[NumericEnum[\\"TopRight\\"] = 1] = \\"TopRight\\";
NumericEnum[NumericEnum[\\"TopCenter\\"] = 2] = \\"TopCenter\\";
})(NumericEnum || (NumericEnum = {}));
var StringEnum;
(function (StringEnum) {
return NumericEnum;
}(NumericEnum || {});
var StringEnum = /*#__PURE__*/function (StringEnum) {
StringEnum[\\"TopLeft\\"] = \\"top-left\\";
StringEnum[\\"TopRight\\"] = \\"top-right\\";
StringEnum[\\"TopCenter\\"] = \\"top-center\\";
})(StringEnum || (StringEnum = {}));
return StringEnum;
}(StringEnum || {});
export const TypeScriptProps = () => /*#__PURE__*/React.createElement(\\"div\\", null, \\"TypeScript!\\");
TypeScriptProps.defaultProps = {
any: 'Any value',
Expand Down

0 comments on commit ff02b36

Please sign in to comment.