Skip to content

Commit

Permalink
feat: add card content and card action components
Browse files Browse the repository at this point in the history
Signed-off-by: Kunaldeep singh <[email protected]>
  • Loading branch information
kunal70006 committed Aug 30, 2023
1 parent c15bb81 commit 1639170
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/components/src/cardactions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { CardActionsProps, CardActions as MuiCardActions } from '@mui/material';
import React from 'react';

export const CardActions = (props: CardActionsProps) => {
return <MuiCardActions {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/cardcontent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { CardContentProps, CardContent as MuiCardContent } from '@mui/material';
import React from 'react';

export const CardContent = (props: CardContentProps) => {
return <MuiCardContent {...props} />;
};
2 changes: 2 additions & 0 deletions packages/components/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ export { AccordionSummary } from './accordionsummary';
export { AvatarGroup } from './avatargroup';
export { Badge } from './badge';
export { Backdrop } from './backdrop';
export { CardContent } from './cardcontent';
export { CardActions } from './cardactions';

0 comments on commit 1639170

Please sign in to comment.