linear-react-components-ui 1.1.20-beta.43 → 1.1.20-beta.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ const InputTextBase = props => {
28
28
  const {
29
29
  textAlign = 'left',
30
30
  value,
31
+ defaultValue,
31
32
  type = 'text',
32
33
  readOnly = false,
33
34
  placeHolder,
@@ -98,6 +99,7 @@ const InputTextBase = props => {
98
99
  const disableCallbacks = shouldBeReadOnly() || shouldDisable() || hideContent;
99
100
  propsInput = {
100
101
  value: hideContent ? '' : value,
102
+ defaultValue,
101
103
  accept,
102
104
  type,
103
105
  readOnly: shouldBeReadOnly(),
@@ -96,6 +96,7 @@ interface IBaseProps {
96
96
  themePopover?: 'light' | 'dark';
97
97
  popoverAlign?: 'right' | 'left';
98
98
  tabIndex?: number;
99
+ defaultValue?: string | string[];
99
100
  }
100
101
 
101
102
  export { CustomInputEvent, IBaseProps, InputLabelProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.1.20-beta.43",
3
+ "version": "1.1.20-beta.44",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",