Skip to content

Commit

Permalink
fix: remove options from form component
Browse files Browse the repository at this point in the history
  • Loading branch information
mchoun committed Apr 29, 2024
1 parent 557f591 commit ffb7af8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/cardFields/PayPalCardFieldsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ import { FullWidthContainer } from "../ui/FullWidthContainer";

export const PayPalCardFieldsForm: React.FC<PayPalCardFieldsFormOptions> = ({
className,
...options
}) => {
return (
<div className={className}>
<PayPalCardField fieldName="NameField" {...options} />
<PayPalCardField fieldName="NumberField" {...options} />
<PayPalCardField fieldName="NameField" />
<PayPalCardField fieldName="NumberField" />
<FlexContainer>
<FullWidthContainer>
<PayPalCardField fieldName="ExpiryField" {...options} />
<PayPalCardField fieldName="ExpiryField" />
</FullWidthContainer>
<FullWidthContainer>
<PayPalCardField fieldName="CVVField" {...options} />
<PayPalCardField fieldName="CVVField" />
</FullWidthContainer>
</FlexContainer>
</div>
Expand Down

0 comments on commit ffb7af8

Please sign in to comment.