https://github.com/eduzz/ui-antd-theme
https://github.com/eduzz/ui-antd-theme
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eduzz/ui-antd-theme
- Owner: eduzz
- Created: 2023-07-10T18:22:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T18:50:07.000Z (almost 2 years ago)
- Last Synced: 2025-05-29T07:59:32.356Z (about 1 year ago)
- Language: TypeScript
- Size: 129 KB
- Stars: 0
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Eduzz Hooks: Antd Theme
[](https://www.npmjs.com/package/@eduzz/ui-antd-theme)
[](https://www.npmjs.com/package/@eduzz/ui-antd-theme)
Implementação padrão do **react-hook-form** para validação de formulário com AntD.
### Instalação
```bash
yarn add @eduzz/ui-antd-theme
```
### Importação
```js
import { ThemeProvider } from '@eduzz/ui-antd-theme';
```
### Parametros
Aceita todas as props do [ConfigProvider](https://ant.design/components/config-provider) do Antd e mais:
| prop | tipo | obrigatório | descrição |
|------------|---------------|-------------|-----------------------------------------------------|
| brandColor | `string` | `false` | Cor primária do produto, poder ser o nome ou um hex |
| mode | `light\|dark` | `false` | Modo dark experimental |