![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
NeoCron is a modern, lightweight cron scheduling react component that is styled using tailwind. It is influenced and built upon cron-converter project.
Make sure that you have these dependencies in your project:
npm i neocron
import Neocron from 'neocron'
import 'neocron/dist/src/globals.css'
export function App() {
const [value, setValue] = useState('* * * * 2')
return <Neocron cronString={value} setCronString={setValue} />
}
./node_modules/neocron/dist/src/**/*.{js,css}",
to the content array like so:import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/neocron/dist/src/**/*.{js,css}", //adding this to the file makes the shadcn components work
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
},
},
plugins: [],
};
export default config;
Prop Name | Description |
---|---|
cronString | Pass in a default cronString an |
setCronString | A setter to set the cronString |
disableInput | Disable the input and only have drop down selectors |
disableSelectors | Disable the selectors and only have the input |
disableExplainerText | Disables the schedule explainer text |
selectorText | The text in front of the first selector; can be empty |
NeoCron is styled using Tailwind CSS, Radix and Shadcn. Radix is a component library that provides pre-built UI components such as Selects, Buttons, Alerts and many more. Shadcn styles these base Radix components and provides a plug-and-play experience for developers building front-end components.
FAQs
A lightweight, modern chron editor
The npm package neocron receives a total of 503 weekly downloads. As such, neocron popularity was classified as not popular.
We found that neocron 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.