
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
react-pick-time-range
Advanced tools
Simple & customized time slots picker for React
npm install react-pick-time-range
or
yarn add react-pick-time-range
Add the following bootstrap code in index.js
or index.ts
of your project. The UI will look ugly if not added.
import 'bootstrap/dist/css/bootstrap.css'
Add PickTime
to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import { PickTime } from 'react-pick-time-range'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<div>
<h2>Time Range Picker Demo</h2>
<PickTime
onError={(error, timings) => {
console.log('On Error', error, timings)
}}
onSave={(timings) => {
console.log('Data', timings)
}}
onSlotsFilled={() => {
alert('All slots are filled')
}}
scheduledTimings={[
['01:00', '01:30'],
['17:30', '18:00'],
]}
timeFrame={30}
/>
</div>
</React.StrictMode>,
)
FAQs
Time Range Slots Picker for React
The npm package react-pick-time-range receives a total of 5 weekly downloads. As such, react-pick-time-range popularity was classified as not popular.
We found that react-pick-time-range 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.