techsbcn-storybook 0.10.0 → 0.10.1

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.
@@ -24,6 +24,7 @@ interface TextFieldComponentProps {
24
24
  multiline?: boolean;
25
25
  rows?: number;
26
26
  maxLength?: number;
27
+ defaultValue?: string;
27
28
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
28
29
  onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
29
30
  step?: number | string;
@@ -987,6 +987,7 @@ var TextFieldComponent = function TextFieldComponent(props) {
987
987
  error: props.error,
988
988
  id: props.id,
989
989
  label: props.label,
990
+ value: props.defaultValue,
990
991
  defaultValue: props.value,
991
992
  className: props.className,
992
993
  required: props.required,