-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
31,825 additions
and
2,628 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "keycap-client", | ||
"version": "1.0.2", | ||
"version": "2.2.0", | ||
"directories": { | ||
"doc": "docs" | ||
}, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...e/Settings/Basic/Card/RussianSentences/PracticeSettingsBasicCardRussianQuoteSentences.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React from 'react'; | ||
import { useAppSelector } from '../../../../../../redux/hooks'; | ||
import { PRACTICE_SETTINGS_RUSSIAN_QUOTE_SENTENCES_LIMITS } from '../../../../../../utility/constants'; | ||
import PracticeSettingsBasicCardInputNumber from '../Input/Number/PracticeSettingsBasicCardInputNumber'; | ||
import PracticeSettingsBasicCard from '../PracticeSettingsBasicCard'; | ||
|
||
export default function PracticeSettingsBasicCardRussianQuoteSentences() { | ||
return ( | ||
<PracticeSettingsBasicCard | ||
name="russianQuoteSentences" | ||
title={ | ||
<> | ||
Russian | ||
<br /> | ||
Quote | ||
<br /> | ||
Sentences | ||
</> | ||
} | ||
> | ||
<Input /> | ||
</PracticeSettingsBasicCard> | ||
); | ||
} | ||
|
||
function Input() { | ||
const sentences = useAppSelector( | ||
(state) => state.practice.settings.current.russianQuoteSentences, | ||
); | ||
|
||
return ( | ||
<div className="d-grid gap-2"> | ||
<PracticeSettingsBasicCardInputNumber | ||
limits={PRACTICE_SETTINGS_RUSSIAN_QUOTE_SENTENCES_LIMITS} | ||
name="russianQuoteSentences" | ||
step={1} | ||
value={sentences} | ||
/> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.