Skip to content

Commit 6497ab5

Browse files
authored
Ba add checkbox label type (#39)
* docs(changeset): Add Element as label type for CheckboxProps * RELEASING: Releasing 1 package(s) Releases: @baseapp-frontend/[email protected] [skip ci] * BA-Add-checkbox-label-type
1 parent 8bd97a4 commit 6497ab5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/design-system-mui/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @baseapp-frontend/design-system-mui
22

3+
## 1.3.3
4+
5+
### Patch Changes
6+
7+
- 220d806: Add Element as label type for CheckboxProps
8+
39
## 1.3.2
410

511
### Patch Changes

packages/design-system-mui/components/CheckboxField/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ChangeEvent } from 'react'
33
import { ControllerRenderProps, UseFormReturn } from 'react-hook-form'
44

55
export interface ICheckboxFieldProps {
6-
label?: string
6+
label?: string | JSX.Element
77
showError: boolean
88
errorMessage?: string
99
helperText?: string

packages/design-system-mui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@baseapp-frontend/design-system-mui",
33
"description": "Design System components and configurations.",
4-
"version": "1.3.2",
4+
"version": "1.3.3",
55
"main": "./dist/index.ts",
66
"module": "./dist/index.mjs",
77
"scripts": {

0 commit comments

Comments
 (0)