-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated: Number Input documentation updated.
- Loading branch information
1 parent
1245249
commit ac4bd0c
Showing
2 changed files
with
7 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1 @@ | ||
export const numberInputApiData = [ | ||
{ | ||
id: 1, | ||
propsName: 'value', | ||
propsType: 'number', | ||
propsDescription: 'The current value of the NumberInput.', | ||
default: '100', | ||
}, | ||
{ | ||
id: 2, | ||
propsName: 'sizing', | ||
propsType: ['sm', 'md', 'lg'], | ||
propsDescription: 'Size of the NumberInput component.', | ||
default: 'md', | ||
}, | ||
{ | ||
id: 3, | ||
propsName: 'disabled', | ||
propsType: 'boolean', | ||
propsDescription: 'Indicates whether the NumberInput is disabled.', | ||
default: 'false', | ||
}, | ||
{ | ||
id: 4, | ||
propsName: 'helperText', | ||
propsType: 'ReactNode', | ||
propsDescription: 'Additional helper text to assist the user.', | ||
default: 'null', | ||
}, | ||
{ | ||
id: 5, | ||
propsName: 'icon', | ||
propsType: 'ReactNode', | ||
propsDescription: 'An optional icon to display within the NumberInput component.', | ||
default: 'None', | ||
}, | ||
{ | ||
id: 6, | ||
propsName: 'iconPosition', | ||
propsType: ['right', 'left'], | ||
propsDescription: 'Position of the icon within the NumberInput.', | ||
default: 'None', | ||
}, | ||
{ | ||
id: 7, | ||
propsName: 'setValue', | ||
propsType: 'Function', | ||
propsDescription: 'Function to update the value of the NumberInput.', | ||
default: 'Function', | ||
}, | ||
] | ||
export const numberInputApiData = [] |