Skip to content

Commit

Permalink
Create Card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 7, 2024
1 parent ccbeb76 commit 0159281
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions projects/PiWalletBot/client/components/Card.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import styled from 'styled-components';

const CardContainer = styled.div`
background-color: #fff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
margin: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
`;

const Card = ({ children }) => {
return <CardContainer>{children}</CardContainer>;
};

export default Card;

0 comments on commit 0159281

Please sign in to comment.