@adoptaunabuelo/react-components 0.3.140 → 0.3.142

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.
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from "react";
2
- import { LocationProps } from "../../components/Input/Location/InputLocation";
2
+ import { LocationProps } from "@components/Input/Location/InputLocation";
3
3
  declare const LocationForm: (props: LocationFormProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default LocationForm;
5
5
  export interface LocationFormProps {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, CSSProperties, ReactElement } from "react";
2
- import { ButtonProps } from "../../components/Button/Button";
2
+ import { ButtonProps } from "@components/Button/Button";
3
3
  declare const ModalComponent: import("react").ForwardRefExoticComponent<ModalPrimaryProps & import("react").RefAttributes<ModalRef>>;
4
4
  export default ModalComponent;
5
5
  export interface ModalPrimaryProps extends ComponentPropsWithoutRef<"div"> {
@@ -1,8 +1,9 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { ReactNode } from "react";
2
2
  import "./editor.css";
3
3
  declare const TextAreaEditor: (props: TextAreaEditorProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default TextAreaEditor;
5
- export interface TextAreaEditorProps extends ComponentPropsWithoutRef<"textarea"> {
5
+ export interface TextAreaEditorProps {
6
+ style?: React.CSSProperties;
6
7
  value?: string;
7
8
  defaultValue?: string;
8
9
  placeholder?: string;
@@ -10,4 +11,5 @@ export interface TextAreaEditorProps extends ComponentPropsWithoutRef<"textarea"
10
11
  maxLength?: number;
11
12
  design?: "primary" | "secondary";
12
13
  ToolbarButton?: ReactNode;
14
+ onChange?: (value: string) => void;
13
15
  }