Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
react-calendar-events-full-year
Advanced tools
Simple events calendar with both month and full year view
A simple events calendar with year and month view
npm install react-calendar-events-full-year --save
import Calendar from 'react-calendar-events-full-year'
const tempEvents = [
{
"id": "1",
"title": "test title - 4",
"from": "2022-06-10T11:33:35.833Z",
"to": "2022-07-29T14:33:35.833Z"
}
]
function App() {
const [calendarEvents, setEvents] = useState<MyEvent[]>(tempEvents.map(d => ({...d, from: new Date(d.from), to: new Date(d.to)})));
return (
<div className="">
<Calendar calendarEvents={calendarEvents}/>
</div>
);
}
export default App;
Prop | Description | Default | Mandatory |
---|---|---|---|
defaultMonth | Default selected month | This month | No |
defaultYear | Default selected year | This year | No |
calendarEvents | Event JSON | [] | No |
monthView | Month view of Year View | false | No |
Development in progress
FAQs
Simple events calendar with both month and full year view
The npm package react-calendar-events-full-year receives a total of 0 weekly downloads. As such, react-calendar-events-full-year popularity was classified as not popular.
We found that react-calendar-events-full-year 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.