@developer_tribe/react-builder 1.2.9 → 1.2.11

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.
package/README.md CHANGED
@@ -4,8 +4,8 @@ A minimal TypeScript library starter using Rollup, ESLint (flat), and Prettier.
4
4
 
5
5
  ### React Native support (no `react-dom`)
6
6
 
7
- - **Web**: import from `@developer_tribe/react-builder` (default entry)
8
- - **React Native**: import from `@developer_tribe/react-builder/native` (or rely on Metro picking the `react-native` entry)
7
+ - **Web**: import from `@developer_tribe/react-builder/web`
8
+ - **React Native**: import from `@developer_tribe/react-builder` (Metro will prefer the `react-native` export condition)
9
9
 
10
10
  ### Scripts
11
11
 
@@ -27,7 +27,7 @@ npm run build
27
27
  ```
28
28
  src/
29
29
  index.ts
30
- index.native.ts
30
+ index.web.ts
31
31
  rollup.config.mjs
32
32
  eslint.config.mjs
33
33
  tsconfig.json
@@ -7,7 +7,7 @@ export type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 't
7
7
  inputClassName?: string;
8
8
  onChange?: CheckboxChangeHandler;
9
9
  };
10
- export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "className"> & {
10
+ export declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "className"> & {
11
11
  label?: React.ReactNode;
12
12
  helperText?: React.ReactNode;
13
13
  className?: string;