@rahmatsaputra-my-id/react-js-library 0.0.63 → 0.0.65

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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RadioButtonMultipleProps } from './RadioButtonMultiple.types';
3
+ declare const RadioButtonMultiple: React.FC<RadioButtonMultipleProps>;
4
+ export default RadioButtonMultiple;
@@ -5,7 +5,7 @@ export interface SingleRadioButtonProps {
5
5
  handleChange: (value: string | number) => void;
6
6
  children: React.ReactNode;
7
7
  }
8
- export interface RadioButtonProps {
8
+ export interface RadioButtonMultipleProps {
9
9
  label: string;
10
10
  options: Array<{
11
11
  [key: string]: any;
@@ -0,0 +1,2 @@
1
+ export { default as RadioButtonMultiple } from './RadioButtonMultiple.component';
2
+ export * from './RadioButtonMultiple.types';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RadioButtonSingleProps } from './RadioButtonSingle.types';
3
+ declare const RadioButtonSingle: React.FC<RadioButtonSingleProps>;
4
+ export default RadioButtonSingle;
@@ -0,0 +1,29 @@
1
+ export declare const styles: {
2
+ singleRadioContainer: {
3
+ display: string;
4
+ marginBottom: string;
5
+ flexDirection: string;
6
+ };
7
+ outterBullet: {
8
+ width: number;
9
+ height: number;
10
+ borderRadius: number;
11
+ justifyContent: string;
12
+ alignItems: string;
13
+ backgroundColor: "#FFFFFF" | undefined;
14
+ marginRight: number;
15
+ border: string;
16
+ };
17
+ innerBulletActive: {
18
+ width: number;
19
+ height: number;
20
+ borderRadius: number;
21
+ backgroundColor: "#1A1A1A" | undefined;
22
+ };
23
+ innerBulletNotActive: {
24
+ width: number;
25
+ height: number;
26
+ borderRadius: number;
27
+ backgroundColor: "#FFFFFF" | undefined;
28
+ };
29
+ };
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface RadioButtonSingleProps {
3
+ value: string | number;
4
+ selectedOption: string | number;
5
+ handleChange: (value: string | number) => void;
6
+ children: React.ReactNode;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as RadioButtonSingle } from './RadioButtonSingle.component';
2
+ export * from './RadioButtonSingle.types';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  export * from './components/BottomSheet';
2
2
  export * from './components/BottomSheetPhoto';
3
3
  export * from './components/Button';
4
+ export * from './components/CheckBox';
4
5
  export * from './components/Container';
6
+ export * from './components/CornerBadge';
5
7
  export * from './components/CountDown';
8
+ export * from './components/DocumentUploader';
6
9
  export * from './components/DropDown';
7
10
  export * from './components/Image';
8
11
  export * from './components/ImageInput';
@@ -12,9 +15,12 @@ export * from './components/MultipleImageInput';
12
15
  export * from './components/NoRecord';
13
16
  export * from './components/PopUp';
14
17
  export * from './components/PreviewPhoto';
18
+ export * from './components/RadioButtonMultiple';
19
+ export * from './components/RadioButtonSingle';
15
20
  export * from './components/ScannerQR';
16
21
  export * from './components/SearchBox';
17
22
  export * from './components/Swipeable';
23
+ export * from './components/Switch';
18
24
  export * from './components/Text';
19
25
  export * from './components/TextInput';
20
26
  export * from './components/TouchableOpacity';