-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layout Page appMenu prop type problem #9
Comments
@ofsajd ☝️ |
Same here |
Hi guys. We are considering whether to fork the lib to make a few adjustments or the make pull requests. Was wondering what are the plans, and whether you guys would accept simple/bug fixes pull requests. We want to use it in production, but there are some things that we would have to fix in order to make this our primary lib. Thanks! |
@lowercase00 #6 :) |
@rootsher yep, saw that. How are you guys approaching the issue? Did you fork the platform? |
@lowercase00 We used Chakra UI (https://chakra-ui.com). We are very satisfied. Adding even more complex components (which are in Synerise Design) was not difficult and development is now a pleasure. |
@rootsher we like Chakra a lot, but we are a two-men team and Chakra demanded a whole bunch of customization. We currently have been using Ant, but really liked the features and UI of Synerise. Tough decision since this is not very active. |
hi guys, on a couple days we will sent you some information about when we exactly migrate our repository. Then we will open Design System for your cooperation. Next step is updating react and react-dom into v17 ;) |
@kbalus awesome, thanks a lot! please let us know, we are close to adopting Synerise in our project, and would be more than happy to contribute. If possible, would be great if you guys could include some guidance on how to contribute as well. |
hey @kbalus ! Any updates on the updated repo? |
@kbalus react 18 is out :) |
I also wonder how to go about this - forking or trying to push patches upstream? What would you prefer @ofsajd ? |
Hi,
I have encountered problem with Page component appMenu prop type.
Definition is:
synerise-design/packages/components/layout/src/Page/Page.tsx
Lines 4 to 8 in 92df028
but even when using Page component same as in examples from storybook
synerise-design/packages/portal/stories/components/Layout/BothSidebarsWithoutHeader.stories.tsx
Line 18 in 92df028
typescript is throwing types error:
There is no problem with navBar prop. When overwriting type definition for appMenu to be same as navBar which is React.ReactNode (instead of React.Component) components renders properly.
Problem occurs when using React in version 17 as well as in version 16.
I can make PR to change appMenu type to React.ReactNode, unless I'm missing something and this is not a problem with prop definition?
The text was updated successfully, but these errors were encountered: