Skip to content

Commit

Permalink
feat: add navigation and state mutation actions (#1105)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Shih <[email protected]>
  • Loading branch information
Jshhhh and Justin Shih authored Oct 12, 2023
1 parent 85ecd5e commit 4fb3cb7
Show file tree
Hide file tree
Showing 20 changed files with 14,393 additions and 18,723 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ exports[`react-studio-template-renderer-helper transpile fails to transpile with

exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES3 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -31,9 +31,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES5 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -48,9 +48,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2015 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -65,9 +65,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2016 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -82,9 +82,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2017 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -99,9 +99,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2018 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -116,9 +116,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2019 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -133,9 +133,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2020 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand All @@ -150,9 +150,9 @@ export default function CustomParentAndChildren(props: CustomParentAndChildrenPr
exports[`react-studio-template-renderer-helper transpile successfully transpiles with ScriptTarget ES2021 1`] = `
"import * as React from \\"react\\";
import { EscapeHatchProps } from \\"./utils\\";
import { CustomButtonProps } from \\"./CustomButton\\";
import { ViewTestProps } from \\"./ViewTest\\";
import { EscapeHatchProps } from \\"@aws-amplify/ui-react/internal\\";
export declare type PrimitiveOverrideProps<T> = Partial<T> & React.DOMAttributes<HTMLDivElement>;
export declare type CustomParentAndChildrenOverridesProps = {
CustomParentAndChildren?: ViewTestProps;
Expand Down
Loading

0 comments on commit 4fb3cb7

Please sign in to comment.