Skip to content

Commit

Permalink
fix(ui): adjust naming in documentation of textarea (#485) (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
angsherpa456 committed Feb 8, 2024
1 parent d7f266b commit 03bb471
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions packages/ui-library/src/components/forms/textarea/index.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,34 +333,34 @@ export default {
},

// Events
onChange: {
name: 'onChange',
blrChange: {
name: 'blrChange',
description: 'Fires when the value changes.',
action: 'onChange',
action: 'blrChange',
table: {
category: 'Events',
},
},
onFocus: {
name: 'onFocus',
description: 'Fires when the component is focused.',
action: 'onFocus',
blrSelect: {
name: 'blrSelect',
description: 'Fires when some text is selected.',
action: 'blrSelect',
table: {
category: 'Events',
},
},
onBlur: {
name: 'onBlur',
description: 'Fires when the component lost focus.',
action: 'onBlur',
blrFocus: {
name: 'blrFocus',
description: 'Fires when the component is focused.',
action: 'blrFocus',
table: {
category: 'Events',
},
},
onSelect: {
name: 'onSelect',
description: 'Fires when some text is selected.',
action: 'onSelect',
blrBlur: {
name: 'blrBlur',
description: 'Fires when the component lost focus.',
action: 'blrBlur',
table: {
category: 'Events',
},
Expand Down Expand Up @@ -445,10 +445,10 @@ const argTypesToDisable = [
'arialabel',
'textareaId',
'name',
'onChange',
'onFocus',
'onBlur',
'onSelect',
'blrChange',
'blrSelect',
'blrFocus',
'blrBlur',
];
const generateDisabledArgTypes = (argTypes: string[]) => {
const disabledArgTypes = {};
Expand Down

0 comments on commit 03bb471

Please sign in to comment.