Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi examples #113

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

takeki-99
Copy link
Collaborator

例文を複数化した

@@ -0,0 +1,46 @@
import React, { FC } from "react";

Check failure

Code scanning / ESLint

Enforce consistent usage of type imports Error

Import "FC" is only used as types.
@@ -0,0 +1,46 @@
import React, { FC } from "react";

Check failure

Code scanning / ESLint

enforce the consistent use of either backticks, double, or single quotes Error

Strings must use singlequote.
@@ -0,0 +1,46 @@
import React, { FC } from "react";
import { View, StyleSheet } from "react-native";

Check failure

Code scanning / ESLint

enforce the consistent use of either backticks, double, or single quotes Error

Strings must use singlequote.
@@ -0,0 +1,46 @@
import React, { FC } from "react";
import { View, StyleSheet } from "react-native";
import { TextInput } from "react-native-gesture-handler";

Check failure

Code scanning / ESLint

enforce the consistent use of either backticks, double, or single quotes Error

Strings must use singlequote.
<View>
<TextInput
style={styles.textMulti}
multiline

Check failure

Code scanning / ESLint

Enforce props alphabetical sorting Error

Shorthand props must be listed before all other props
const [wordExamplePreview, setWordExamplePreview] = useState<string>(example);
const [wordExamples, setWordExamples] = useState<string[]>([example]);
const [wordExamplePreviews, setWordExamplePreviews] = useState<string[]>([example]);
const [selectedindex, setSelectedIndex] = useState<number>(0); // 選択された例文のインデックス

Check warning

Code scanning / ESLint

Disallow unused variables Warning

'setSelectedIndex' is assigned a value but never used.
@takeki-99
Copy link
Collaborator Author

スクリーンショット 2023-08-31 20 01 35

@takeki-99
Copy link
Collaborator Author

文字を一文字ずつ表示することができませんでした。
どの部分を修正したらよいか教えてください

@takeki-99
Copy link
Collaborator Author

@illionillion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants