Skip to content

Commit aac4752

Browse files
committed
fix(DialogActions): Removed extra props
1 parent cf926c1 commit aac4752

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { DialogActionsProps } from '@bluebase/components';
2+
import MUIDialogActions from '@material-ui/core/DialogActions';
3+
import { StyleSheet } from 'react-native';
4+
import { componentMapper } from '@bluebase/component-mapper';
5+
6+
export const DialogActions = componentMapper<DialogActionsProps>(MUIDialogActions, {
7+
children: 'children',
8+
style: ({ style }: any) => StyleSheet.flatten(style),
9+
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './DialogActions';

β€Žsrc/components/DialogAction/index.tsx

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
Β (0)