Comments (8)
Dear Vivek,
i tested the new version.
Two point:
-
Version 4.0.4
Adding AppTheme to App.js has no effect and the theme is always light
<AppTheme
scheme={'dark'}
onColorChange={()=> {}}
onSchemeChange={()=> {}}/>
-
If i try to upgrade the version to one greater than 4.0.4 I got
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of App
.
▶ 22 stack frames were collapsed.
Module.
C:/temp/react-windows-ui-boilerplate/src/index.js:8
5 | import 'react-windows-ui/icons/fonts/fonts.min.css'
6 | import App from './App'
7 |
8 | ReactDOM.render(
9 | <React.StrictMode>
10 |
11 | </React.StrictMode>,
to be sure i started from an empty project fro your last Boilerplate https://github.com/virtualvivek/react-windows-ui-boilerplate.git
Thank you
Andrea
from react-windows-ui.
Hi Vivek,
i tested the new release ad it works perfectly. The theme is applied and there is no more error on load.
Thank you very much
Andrea
from react-windows-ui.
Sorry I replied with my personal github account. I close now the issue.
Thank You
Andrea
from react-windows-ui.
Hi @NuclearInstruments ,
Thankyou soo much for your support!! :)
- Do you need some prop to show / hide the switch on navbar ??
- Do you need some prop to make navbar show top horizontal instead of Side Start in Desktop mode also??
from react-windows-ui.
Hi @NuclearInstruments ,
I will suggest you to check the new published version,
I have improved the navbar and now it only has some major component and other components can add externally.
from react-windows-ui.
Hi Andrea aka @NuclearInstruments ,
I have checked in my local machine and you are right AppTheme has no effect on "dark" prop on mount at App.js,
also apologies for -v4.0.5 actually for 4.0.5 i forget to import React from 'react' thats why after 10-15 mins of publishing i had to publish another -v4.0.6 but after i got your response, i am working on both boilerplate and repo, and give me some time to publish a more stable and rightfull version. :)
from react-windows-ui.
Hi @NuclearInstruments ,
I have fixed this issue of AppTheme and also updated boilerplate.
This new release removed TransitionToLeft component because new version don't require this component so,
You can check the new release at your side and update me whether this issue needs to be closed.
from react-windows-ui.
Hi @andreaabba aka @NuclearInstruments ,
I feel relaxed after listening about improvements in the new release version -v4.0.8
Now i am going to release at github this version too!
No Worries.... No matter from where you replied the thing matter is you replied :)
Thanks for contributing to this project also for the navigation part too!
from react-windows-ui.
Related Issues (20)
- File Upload input HOT 2
- Interoperability with other library - way to check which theme is in use HOT 2
- Demo page error HOT 7
- demo page is broken HOT 6
- CommandBar HOT 7
- npx create-react-app report errors HOT 2
- Report errors in vite HOT 2
- AppTheme onChange props not work HOT 2
- textarea HOT 2
- React-Native Support HOT 1
- Vite Support HOT 1
- Additional Component Request HOT 1
- add key support and pagination to TableView HOT 1
- JS code to manipulate components HOT 7
- Will there be context menu support?
- Get text from textbox programmatically
- Missing exports for Appearance.js HOT 1
- Can not find documentation. HOT 2
- Question on license and permissible usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-windows-ui.