Auth0 Home Blog Docs

React @auth0/styleguide-react-components Button component missing




I am trying to build an Auth0 login screen, and the problem I am running into is that the Button component provided by Auth0 does not seem to exist.

So far, I have done the following:

I tried using this code sample for creating embedded login windows in React

The above project uses a strategy of importing a Button component from the react component style guide. This process is described here:

When I run npm install and npm start on the above project, I get this error:
197:8-14 ‘@auth0/styleguide-react-components’ does not contain an export named ‘Button’.

When I look at the npm package …

… there appears to be no Button component defined or exported …

even if I run npm i --save react@15 react-bootstrap@0.30 @auth0/styleguide-react-components
it still doesn’t work.

My question is, am I doing something incorrectly? Is the Button component suppose to be missing? Please help.