@livetiles/reach-plugin-types 0.5.0-preview.1182 → 0.5.0-preview.1183

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +17 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -6647,6 +6647,22 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/OTPInput" {
6647
6647
  const OTPInput: FC<IOTPInputProps>;
6648
6648
  export default OTPInput;
6649
6649
  }
6650
+ declare module "libs/reach/ui/common/src/reach-2/inputs/RadioGroup" {
6651
+ import { ReactNode } from 'react';
6652
+ interface IRadioOption<T> {
6653
+ content?: ReactNode;
6654
+ label: ReactNode;
6655
+ value: T;
6656
+ }
6657
+ interface IRadioGroupProps<T> {
6658
+ name: string;
6659
+ onChange: (value: T) => void;
6660
+ options: IRadioOption<T>[];
6661
+ selectedValue: T;
6662
+ }
6663
+ const RadioGroup: <T extends string | number = string>({ name, onChange, options, selectedValue, }: IRadioGroupProps<T>) => JSX.Element;
6664
+ export default RadioGroup;
6665
+ }
6650
6666
  declare module "libs/reach/ui/common/src/reach-2/inputs/SearchInput" {
6651
6667
  import { FC } from 'react';
6652
6668
  import { IInputProps } from "libs/reach/ui/common/src/reach-2/inputs/Input";
@@ -6672,6 +6688,7 @@ declare module "libs/reach/ui/common/src/reach-2/inputs/Textarea" {
6672
6688
  declare module "libs/reach/ui/common/src/reach-2/inputs/index" {
6673
6689
  export { default as Input } from "libs/reach/ui/common/src/reach-2/inputs/Input";
6674
6690
  export { default as OTPInput } from "libs/reach/ui/common/src/reach-2/inputs/OTPInput";
6691
+ export { default as RadioGroup } from "libs/reach/ui/common/src/reach-2/inputs/RadioGroup";
6675
6692
  export { default as SearchInput } from "libs/reach/ui/common/src/reach-2/inputs/SearchInput";
6676
6693
  export { default as Textarea } from "libs/reach/ui/common/src/reach-2/inputs/Textarea";
6677
6694
  }
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1182",
7
+ "version": "0.5.0-preview.1183",
8
8
  "dependencies": {}
9
9
  }