Add small prop to PeopleSearch components for reduced height

- Add small prop support to PeopleSearch component
- Pass small prop to PeopleSearch in AttendeeSearch
- Use small prop in EventFormFields Participants field
- Use small prop in TempCalendarsInput for left sidebar
This commit is contained in:
lenhanphung
2025-12-12 16:06:45 +07:00
committed by Benoit TELLIER
parent 1347583e9a
commit 12776d36a4
5 changed files with 13 additions and 1 deletions
@@ -275,6 +275,7 @@ export default function CalendarSearch({
<PeopleSearch
objectTypes={["user"]}
selectedUsers={selectedUsers}
small
onChange={async (event: any, value: User[]) => {
setSelectedUsers(value);
@@ -105,6 +105,7 @@ export function TempCalendarsInput({
onChange={handleUserChange}
onToggleEventPreview={handleToggleEventPreview}
placeholder={t("peopleSearch.availabilityPlaceholder")}
small
/>
);
}