mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
chore: application prettier
This commit is contained in:
@ -6,7 +6,7 @@ const ToggleView = ({ viewType, setViewType }) => {
|
||||
{ type: 'week', label: 'Semaine', icon: CalendarDays },
|
||||
{ type: 'month', label: 'Mois', icon: Calendar },
|
||||
{ type: 'year', label: 'Année', icon: CalendarRange },
|
||||
{ type: 'planning', label: 'Planning', icon: List }
|
||||
{ type: 'planning', label: 'Planning', icon: List },
|
||||
];
|
||||
|
||||
return (
|
||||
@ -17,9 +17,10 @@ const ToggleView = ({ viewType, setViewType }) => {
|
||||
onClick={() => setViewType(type)}
|
||||
className={`
|
||||
flex items-center gap-2 px-3 py-1.5 rounded-md transition-all
|
||||
${viewType === type
|
||||
? 'bg-emerald-600 text-white shadow-sm'
|
||||
: 'text-gray-600 hover:bg-gray-200'
|
||||
${
|
||||
viewType === type
|
||||
? 'bg-emerald-600 text-white shadow-sm'
|
||||
: 'text-gray-600 hover:bg-gray-200'
|
||||
}
|
||||
`}
|
||||
>
|
||||
@ -31,4 +32,4 @@ const ToggleView = ({ viewType, setViewType }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default ToggleView;
|
||||
export default ToggleView;
|
||||
|
||||
Reference in New Issue
Block a user