feat : update revisi

Deskripsi:
- update tambah anggota
- update list anggota
- update tambah kalender
- update kalender name indonesia

No Issue
This commit is contained in:
lukman
2024-08-28 16:44:24 +08:00
parent 8a79ab14c1
commit 7f540e7724
9 changed files with 121 additions and 111 deletions

View File

@@ -9,6 +9,8 @@ import { IDataCalender } from '../lib/type_calender';
import moment from 'moment';
import _ from 'lodash';
import toast from 'react-hot-toast';
import 'dayjs/locale/id'
import { PiCalendarStarThin } from 'react-icons/pi';
export default function DateEventDivision() {
@@ -80,7 +82,7 @@ export default function DateEventDivision() {
const muncul = isListTgl.includes(coba)
return (
<Indicator size={6} color="red" offset={-5} disabled={!muncul}>
<Indicator color="red" offset={-3} disabled={!muncul} position='top-end' inline processing size={10} >
<div>{day}</div>
</Indicator>
);
@@ -88,6 +90,7 @@ export default function DateEventDivision() {
return (
<Box>
<Group
@@ -101,6 +104,7 @@ export default function DateEventDivision() {
renderDay={dayRenderer}
onChange={(val: any) => { change(val) }}
onDateChange={(val) => { changeMonth(val) }}
locale='id'
/>
</Group>
<Box>