Skip to content

Commit

Permalink
fix: rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwaxhello committed Jun 3, 2024
1 parent 44174cf commit 16b20e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components-react/src/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface CardProps extends HTMLAttributes<HTMLElement> {
}

export const Card = ({ background, children, className, ...restProps }: PropsWithChildren<CardProps>) => (
<div {...restProps} className={clsx(['frameless-card-test'], background, ['card-background'], className)}>
<div {...restProps} className={clsx(['frameless-card'], background, ['frameless-card-background'], className)}>
{children}
<Heading3>Design Systems</Heading3>
<Paragraph>
Expand All @@ -19,6 +19,6 @@ export const Card = ({ background, children, className, ...restProps }: PropsWit
</div>
);

export const CardContent = (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => (
<div className={clsx(['frameless-card-content'])} {...props}></div>
);
// export const CardContent = (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => (
// <div className={clsx(['frameless-card-content'])} {...props}></div>
// );

0 comments on commit 16b20e2

Please sign in to comment.