
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
rn-react-native-calendar
Advanced tools
This is a calendar package for react native
npm install rn-react-native-calendar
import {WeekCalendar} from "rn-react-native-calendar"
const App =()=>{
const items = {
'2022-04-28':{},
'2022-05-03':{}
}
return(
<View>
<WeekCalendar items={items} itemsOnThisDate={(items)=>console.log(items)} />
</View>
)
}
Prop | description | type | defualt value |
---|---|---|---|
items | items which you want to be marked on calendar | object | {} |
buttonColor | color on left and right button background | string | '#FFEADF' |
selectedDateColor | selected date background Color | string | '#ff5a3d' |
todayDateColor | today's date backgroundColor | string | 'gray' |
itemsOnThisDate | callback which triggers when you click on date with items data | function | (item)=>{ } |
import {CalendarModal} from "rn-react-native-calendar"
const App =()=>{
const [showCalendar,setShowCalendar] = useState(false)
const [date,setDate] = useState(new Date())
const items = {
'2022-04-28':{},
'2022-05-03':{}
}
const onDayPressChanges = (date)=>{
return(
<View>
<CalendarModal
items={items}
currentDate={date}
visible={showCalendar}
onDayPress={(date)=>onDayPressChanges(date)}
onDismiss={()=>setShowCalendar(false)}
selectedDateColor={'#ff5a3d'}
/>
</View>
)
}
Prop | description | type | defualt value |
---|---|---|---|
items | items which you want to be marked on calendar | object | {} |
visible | should show calendar modal or not | boolean | false |
selectedDateColor | selected date background Color | string | '#ff5a3d' |
onDayPress | callback triggered when a day is pressed | function | (data)=>{ } |
onDismiss | callback which triggers when calendar modal closes | function | ()=>{ } |
feel free to contribute
MIT
FAQs
calendar package for react native
The npm package rn-react-native-calendar receives a total of 28 weekly downloads. As such, rn-react-native-calendar popularity was classified as not popular.
We found that rn-react-native-calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.