-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30774 from JKobrynski/migrateReportActionSkeleton…
…ViewToTypeScript [TS Migration] Migrate ReportActionsSkeletonView and SkeletonViewContentLoader directories to TypeScript
- Loading branch information
Showing
7 changed files
with
39 additions
and
34 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react'; | ||
import SkeletonViewContentLoader from 'react-content-loader/native'; | ||
import SkeletonViewContentLoaderProps from './types'; | ||
|
||
function ContentLoader(props: SkeletonViewContentLoaderProps) { | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
return <SkeletonViewContentLoader {...props} />; | ||
} | ||
|
||
export default ContentLoader; |
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,10 @@ | ||
import React from 'react'; | ||
import SkeletonViewContentLoader from 'react-content-loader'; | ||
import SkeletonViewContentLoaderProps from './types'; | ||
|
||
function ContentLoader(props: SkeletonViewContentLoaderProps) { | ||
// eslint-disable-next-line react/jsx-props-no-spreading | ||
return <SkeletonViewContentLoader {...props} />; | ||
} | ||
|
||
export default ContentLoader; |
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,6 @@ | ||
import {IContentLoaderProps} from 'react-content-loader'; | ||
import {IContentLoaderProps as NativeIContentLoaderProps} from 'react-content-loader/native'; | ||
|
||
type SkeletonViewContentLoaderProps = IContentLoaderProps & NativeIContentLoaderProps; | ||
|
||
export default SkeletonViewContentLoaderProps; |