Skip to content

Commit

Permalink
Import styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Initsogar committed Sep 28, 2024
1 parent 7d100b1 commit 50bd8de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/components/jetpack/backup-schedule-setting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Card } from '@automattic/components';
import { SelectControl } from '@wordpress/components';
import { useTranslate } from 'i18n-calypso';
import type { FunctionComponent } from 'react';
import './style.scss';

// Helper function to generate all time slots
const generateTimeSlots = (): { label: string; value: string }[] => {
Expand All @@ -22,14 +23,14 @@ const BackupScheduleSetting: FunctionComponent = () => {
const options = generateTimeSlots();

return (
<div className="backup-schedule-setting">
<div id="backup-schedule" className="backup-schedule-setting">
<Card compact className="setting-title">
<h3>{ translate( 'Backup schedule' ) }</h3>
</Card>
<Card className="setting-content">
<p>
{ translate(
'Pick a timeframe for your backup to run. Some site owners prefer scheduling backups at specific times for better control'
'Pick a timeframe for your backup to run. Some site owners prefer scheduling backups at specific times for better control.'
) }
</p>
<SelectControl options={ options } help={ translate( 'Default time' ) } />
Expand Down

0 comments on commit 50bd8de

Please sign in to comment.