Skip to content

Commit

Permalink
fix: typing for checkbox radio and input
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj Ajay Joshi authored and Viraj Ajay Joshi committed Apr 3, 2024
1 parent 3f7598a commit 7fa4a78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/unstyled/checkbox/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ViewProps } from 'react-native';
interface InterfaceCheckbox extends ViewProps {
export interface InterfaceCheckbox extends ViewProps {
value: string;
onChange?: (isSelected: boolean) => void;
children?: React.ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion packages/unstyled/input/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface InputContext {
inputFieldRef?: any;
}

interface IInputFieldProps {
export interface IInputFieldProps {
/**
* If true, the input will indicate an error.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/unstyled/radio/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ViewProps } from 'react-native';
interface InterfaceRadio extends ViewProps {
export interface InterfaceRadio extends ViewProps {
value: string;
onChange?: (isSelected: boolean) => void;
children?: React.ReactNode;
Expand Down

0 comments on commit 7fa4a78

Please sign in to comment.