a-theme-react icon indicating copy to clipboard operation
a-theme-react copied to clipboard

This does not correctly pass theme to Authenticator component

Open sandyklark opened this issue 7 years ago • 1 comments

The example in the examples/ folder seems to be incorrect. The theme is passed into the Props of the Authenticator component and is never properly assigned unless you explicitly pass it as an argument in withAuthenticator like so:

import { Bootstrap } from 'a-theme-react';

export default withAuthenticator(App, false, [], null, Bootstrap);

sandyklark avatar Sep 18 '18 14:09 sandyklark

Hi @sandyklark thank you for pointing this out. It is been some time, Amplify has changed a lot. I will find some time to revisit Amplify then update.

richardzcode avatar Sep 18 '18 17:09 richardzcode