import React from 'react'; import tw from 'twin.macro'; import { Schedule } from '@definitions/user'; interface Props { cron: Schedule['cron']; className?: string; } const ScheduleCronRow = ({ cron, className }: Props) => (
{cron.minute}
Minute
{cron.hour}
Hour
{cron.dayOfMonth}
Day (Month)
{cron.month}
Month
{cron.dayOfWeek}
Day (Week)