Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c9a778b

Browse files
committed
Inline export
1 parent 49670f5 commit c9a778b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

‎examples/WizardForm/Color.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
enum Color {
1+
exportenum Color {
22
Red = 'Red',
33
Orange = 'Orange',
44
Yellow = 'Yellow',
@@ -8,6 +8,4 @@ enum Color {
88
Violet = 'Violet'
99
}
1010

11-
const colorKeys = Object.keys(Color);
12-
13-
export { Color, colorKeys };
11+
export const colorKeys = Object.keys(Color);

‎packages/react-form-with-constraints-native/src/Native.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ export class FormWithConstraints extends _FormWithConstraints {
8989
}
9090
}
9191

92-
export { FieldFeedbacks };
93-
94-
export { Async };
92+
export { FieldFeedbacks, Async };
9593

9694
// [Tips for styling your React Native apps](https://medium.com/the-react-native-log/tips-for-styling-your-react-native-apps-3f61608655eb)
9795
export interface FieldFeedbackTheme {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /