@ant-design/happy-work-theme
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @ant-design/happy-work-theme

Weekly Downloads

31,135

Version

1.0.0

License

MIT

Unpacked Size

30.9 kB

Total Files

19

Last publish

Collaborators

  • madccc
  • afc163
  • zombiej
  • chenshuai2144
  • vagusx
  • arvinxx