Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 20, 2023
1 parent 8b064c2 commit a5befff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

exports[`react component properties ts-react-fc 1`] = `
"import React from 'react';
function concat(a, b) {
return a + b;
}
var DefaultEnum = /*#__PURE__*/function (DefaultEnum) {
DefaultEnum[DefaultEnum[\\"TopLeft\\"] = 0] = \\"TopLeft\\";
DefaultEnum[DefaultEnum[\\"TopRight\\"] = 1] = \\"TopRight\\";
Expand All @@ -23,7 +20,7 @@ var StringEnum = /*#__PURE__*/function (StringEnum) {
StringEnum[\\"TopCenter\\"] = \\"top-center\\";
return StringEnum;
}(StringEnum || {});
export const TypeScriptProps = () => /*#__PURE__*/React.createElement(\\"div\\", null, \\"TypeScript!\\");
export const TypeScriptProps = props => /*#__PURE__*/React.createElement(\\"div\\", null, \\"TypeScript!\\");
export const component = TypeScriptProps;
TypeScriptProps.__docgenInfo = {
\\"description\\": \\"\\",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ interface TypeScriptPropsProps {
inlinedNumericLiteralUnion: 0 | 1 | 2;
}

export const TypeScriptProps: FC<TypeScriptPropsProps> = () => <div>TypeScript!</div>;
export const TypeScriptProps: FC<TypeScriptPropsProps> = (props) => <div>TypeScript!</div>;

export const component = TypeScriptProps;

0 comments on commit a5befff

Please sign in to comment.