Skip to content

Commit

Permalink
Export ConfirmDialogButtonPropsType
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjunior committed Apr 17, 2023
1 parent 9a2a8e1 commit 23a267f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const {OS} = Platform;
const DEFAULT_COLOR_BUTTON = '#0000FF99';
const DEFAULT_BACKGROUND_COLOR_BUTTON = 'transparent';

type ConfirmDialogButtonPropsType = {
export type ConfirmDialogButtonPropsType = {
title: string;
onPress: () => void;
disabled?: boolean;
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export {default as ProgressDialog} from './ProgressDialog';
export type {ProgressDialogPropsType} from './ProgressDialog';

export {default as ConfirmDialog} from './ConfirmDialog';
export type {ConfirmDialogPropsType} from './ConfirmDialog';
export type {
ConfirmDialogPropsType,
ConfirmDialogButtonPropsType,
} from './ConfirmDialog';

export {default as TouchableEffect} from './TouchableEffect';
export type {TouchableEffectPropsType} from './TouchableEffect';

0 comments on commit 23a267f

Please sign in to comment.