Skip to content

Commit

Permalink
fix: moved to partials
Browse files Browse the repository at this point in the history
  • Loading branch information
Srish-ty committed Mar 13, 2024
1 parent 3a0d72b commit 9e81510
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/form/FormContainer.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Heading, Inputs, Paragraph } from '../shared';
import { Heading, Paragraph } from '../shared';
import { Inputs } from '../shared/partials/FormInputs';
import formimg from '../../assets/images/form-tickets.png';
import { feeCoverage, initialContent, inputContent, lastPartContent } from '../../data/formInformation';

Expand Down
1 change: 0 additions & 1 deletion src/components/shared/typography/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { cn } from '../../../lib/utils';
export { default as Heading } from './Heading';
export { default as Paragraph } from './Paragraph';
export { default as Text } from './Text';
export { default as Inputs } from './FormInputs';

export const HeroText = ({ children, className, ...props }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/data/formInformation.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const inputContent = [
id: 'recRollNumber',
label: 'REC Roll Number',
type: 'text',
regex: '^\d{3}[a-zA-Z]{2}\d{4}$',
regex: '^d{3}[a-zA-Z]{2}d{4}$',
maxLength: 11,
minLength: 7,
placeholder: 'REC Roll Number (for Example: A4275)',
Expand Down

0 comments on commit 9e81510

Please sign in to comment.