Skip to content

Commit

Permalink
use Chip
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Apr 29, 2024
1 parent 344c70a commit b3ea954
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apps/pigment-css-next-app/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from 'next/image';
import { styled, css } from '@pigment-css/react';
import Button from '@mui/material/Button';
import Chip from '@mui/material/Chip';
import styles from './page.module.css';

declare global {
Expand Down Expand Up @@ -199,7 +199,7 @@ export default function Home() {
</h2>
<p>Instantly deploy your Next.js site to a shareable URL with Vercel.</p>
</a>
<Button
<Chip
sx={{
color: 'red',
backgroundColor: 'blue',
Expand All @@ -208,9 +208,8 @@ export default function Home() {
backgroundColor: 'red',
},
}}
>
Hello
</Button>
label="Hello"
/>
</div>
</Main>
);
Expand Down

0 comments on commit b3ea954

Please sign in to comment.