Skip to content

Commit

Permalink
Docs(Checkbox) Update props to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
AadneRo committed May 14, 2024
1 parent d1ba274 commit 14aa8d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/dnb-eufemia/src/components/checkbox/CheckboxDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export const CheckboxProperties: PropertiesTableProps = {
type: 'ReactNode',
status: 'optional',
},
label_position: {
labelPosition: {
doc: 'Defines the position of the `label`. Use either `left` or `right`. Defaults to `right`.',
type: 'string',
status: 'optional',
},
label_sr_only: {
labelSrOnly: {
doc: 'Use `true` to make the label only readable by screen readers.',
type: 'string',
status: 'optional',
Expand All @@ -41,12 +41,12 @@ export const CheckboxProperties: PropertiesTableProps = {
type: 'string',
status: 'optional',
},
status_state: {
statusState: {
doc: 'Defines the state of the status. Currently, there are two statuses `[error, info]`. Defaults to `error`.',
type: ['error', 'info'],
status: 'optional',
},
status_props: {
statusProps: {
doc: 'Use an object to define additional FormStatus properties. See [FormStatus](/uilib/components/form-status/properties/)',
type: 'FormStatusProps',
status: 'optional',
Expand Down Expand Up @@ -79,7 +79,7 @@ export const CheckboxProperties: PropertiesTableProps = {
}

export const CheckboxEvents: PropertiesTableProps = {
on_change: {
onChange: {
doc: 'Will be called on state changes made by the user.',
type: '() => {checked: boolean; event: ChangeEvent}',
status: 'optional',
Expand Down

0 comments on commit 14aa8d4

Please sign in to comment.