Skip to content

Commit

Permalink
filtros em beneficiarios e matriculas
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnypaulino committed May 21, 2024
1 parent 56dfa2c commit e9600ce
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
22 changes: 9 additions & 13 deletions src/Components/TextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ const TextInput = ({
}: PropsInputText) => {
return (
<div>
<span className="p-input-icon-left">
<i className="pi pi-search" />

<InputText
style={{ width: "100%" }}
onBlur={onBlur}
disabled={disabled}
value={value}
name={name}
onChange={onChange}
placeholder={placeholder}
/>
</span>
<InputText
style={{ width: "100%" }}
onBlur={onBlur}
disabled={disabled}
value={value}
name={name}
onChange={onChange}
placeholder={placeholder}
/>
</div>
);
};
Expand Down
17 changes: 10 additions & 7 deletions src/Pages/Classroom/ClassroomOne/RegistrationList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,16 @@ const RegistrationListPage = () => {
<Container>
<Row id="space-between">
<h2>{classroom?.name}</h2>
<TextInput
placeholder="Pesquise pelo nome"
onChange={(e) => {
setFilter(e.target.value);
}}
value={filter}
/>
<span className="p-input-icon-left">
<i className="pi pi-search" />
<TextInput
placeholder="Pesquise pelo nome"
onChange={(e) => {
setFilter(e.target.value);
}}
value={filter}
/>
</span>
</Row>
<Padding padding="16px" />
{props?.registrations?.length! > 0 ? (
Expand Down

0 comments on commit e9600ce

Please sign in to comment.