Skip to content

Commit

Permalink
build: Added content
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwaxhello committed May 30, 2024
1 parent 3078cbf commit c6c98a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/components-react/src/Card/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Heading1, Paragraph } from '@utrecht/component-library-react';
import clsx from 'clsx';
import { HTMLAttributes, PropsWithChildren } from 'react';
import '@frameless/components-css/card/index.scss';
Expand All @@ -8,11 +9,13 @@ interface CardProps extends HTMLAttributes<HTMLElement> {
}

export const Card = ({ background, children, className, ...restProps }: PropsWithChildren<CardProps>) => (
<div
{...restProps}
className={clsx(['frameless-card-test'], background, ['card__illustration--background'], className)}
>
<div {...restProps} className={clsx(['frameless-card-test'], background, ['card--background'], className)}>
{children}
<Heading1>Design Systems</Heading1>
<Paragraph>
Herbruikbare componenten onafhankelijk van huisstijl, daar mag je ons voor wakker maken! Frameless heeft al aan
meerdere white-label design systems mogen werken en is trots op onze bijdrage aan NL Design System.
</Paragraph>
</div>
);

Expand Down

0 comments on commit c6c98a3

Please sign in to comment.