Install Zeal UI
and styled-components
in your React project directory by executing the following command.
npm install @zeal-ui/core styled-components
Before working with Zeal UI, you need to set up the ZealProvider
at the root of your application.
import React from 'react';import { ZealProvider } from '@zeal-ui/core';function App({ Component }) {return (<ZealProvider><Component /></ZealProvider>);}