Skip to content

wanderwallet/components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wander Components Library

Setup

This project does not include a CSS reset or global default styles.

Depending on your setup, the best way to provide those would vary, but in general the best option is to do it using a plain CSS file. Avoid using styled-components's createGlobalStyle() as it might result in the following error and unexpected results:

Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.

You can find some simple global styles / CSS reset in this repo, at:

  • .storybook/preview-head.html

Additionally, you can find a more complex example in https://github.com/wanderwallet/Wander:

  • Wander/src/popup.html
  • Wander/assets/popup.css
  • Wander/src/components/hardware/HardwareWalletTheme.tsx

About

🧩 Wander re-usable components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published