New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/happy-work-theme

Package Overview
Dependencies
Maintainers
10
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/happy-work-theme

Ant Design happy work theme

1.0.0
latest
Source
npm
Version published
Weekly downloads
33K
6.43%
Maintainers
10
Weekly downloads
 
Created
Source

@ant-design/happy-work-theme

Ant Design Happy Work Theme

NPM version npm download build status Test coverage bundle size dumi

Install

@ant-design/happy-work-theme

Usage

Use HappyProvider to wrap your app.

import { HappyProvider } from '@ant-design/happy-work-theme';
import { Button, Space, Switch } from 'antd';
import React from 'react';

const desc = 'Happy Work';

const App: React.FC = () => (
  <HappyProvider>
    <Space>
      <Button type="primary">{desc}</Button>
      <Switch checkedChildren={desc} unCheckedChildren={desc} />
    </Space>
  </HappyProvider>
);

export default App;

API

HappyProvider

Wrapper component will pass config with antd ConfigProvider.

Development

npm install
npm start

Test Case

npm test
npm run coverage

open coverage/ dir

License

@ant-design/happy-work-theme is released under the MIT license.

Keywords

react

FAQs

Package last updated on 04 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts