radix-ui / design-system

Design system that was used by @modulz. It’s now archived and superceded by Radix Themes. (See https://github.com/radix-ui/themes)
https://design-system.modulz-deploys.com/
MIT License
2.28k stars 176 forks source link

Failed build on designSystemProvider #378

Open mattwongasimov opened 2 years ago

mattwongasimov commented 2 years ago

Using the latest radix-ui/react* primitives, and the latests design-system. and React 18. Failed build. Failed in designSystemProvider component. Is there a workaround?


      Creating an optimized production build...
      Failed to compile.

      TS2339: Property 'children' does not exist on type '{}'.
          2 | import { IdProvider } from '@radix-ui/react-id';
          3 |
        > 4 | export const DesignSystemProvider: React.FC = ({ children }) => <IdProvider>{children}</IdProvider>;
            |                                                  ^^^^^^^^
          5 |

  error Command failed with exit code 1.```