Skip to content

Commit

Permalink
Adiciona provedor de idiomas do calendário
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemaygi committed Nov 6, 2024
1 parent 12666a0 commit 5277dac
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import {
CalendarCell,
CalendarGrid,
Heading,
I18nProvider,
} from 'react-aria-components';

const CalendarioEventos = (props) => {
const { items } = props;
const hasEvents = Object.keys(items);
return (
<I18nProvider locale="pt-br">
<div className={'calendarioEventos'}>
<RACCalendar {...props}>
<header>
Expand All @@ -28,6 +30,7 @@ const CalendarioEventos = (props) => {
</CalendarGrid>
</RACCalendar>
</div>
</I18nProvider>
);
};

Expand Down

0 comments on commit 5277dac

Please sign in to comment.