-
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
5 changed files
with
155 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* eslint-disable @typescript-eslint/no-empty-function */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-call */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-return */ | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
/* eslint-disable import/no-unresolved */ | ||
|
||
// Sorted imports: | ||
import classnames from 'classnames'; | ||
import * as React from 'react'; | ||
|
||
import { ResourceImage } from '@tidal/core/src/components/resourceImage/resourceImage'; | ||
import { TextImage } from '@tidal/core/src/components/textImage/textImage'; | ||
|
||
import TrashcanIcon from '@tidal/react-icons/lib/detail-view/trashcan'; | ||
|
||
import type { CombinedProps } from '@tidal/web/src/containers/profileImage/profileImage'; | ||
|
||
// eslint-disable-next-line import/extensions | ||
import styles from './profileImage.module.css'; | ||
|
||
// Sorted type keys: | ||
export type ClientApplication = { | ||
name: string; | ||
service: string; | ||
type: number; | ||
}; | ||
|
||
// Sorted type union: | ||
export type OnboardingStepName = 'ALBUM_INFO' | 'BLOCK' | 'CAST'; | ||
|
||
// Sorted object keys: | ||
export function ProfileImageRepresentation({ | ||
className, | ||
desiredWidth, | ||
resourceId, | ||
width, | ||
}) { | ||
const style = { | ||
height: (() => {})(), | ||
width: (() => {})(), | ||
}; | ||
|
||
// Sorted JSX props: | ||
return ( | ||
<ResourceImage | ||
width={desiredWidth} | ||
className={classnames(styles.profilePicture, className)} | ||
desiredWidth={desiredWidth} | ||
resourceId={resourceId} | ||
type="profile" | ||
/> | ||
); | ||
} |
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,51 @@ | ||
/* eslint-disable @typescript-eslint/no-empty-function */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-call */ | ||
/* eslint-disable @typescript-eslint/no-unsafe-return */ | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
/* eslint-disable import/no-unresolved */ | ||
|
||
// Sorted imports: | ||
import { ResourceImage } from '@tidal/core/src/components/resourceImage/resourceImage'; | ||
import { TextImage } from '@tidal/core/src/components/textImage/textImage'; | ||
import TrashcanIcon from '@tidal/react-icons/lib/detail-view/trashcan'; | ||
import classnames from 'classnames'; | ||
import * as React from 'react'; | ||
import type { CombinedProps } from '@tidal/web/src/containers/profileImage/profileImage'; | ||
// eslint-disable-next-line import/extensions | ||
import styles from './profileImage.module.css'; | ||
|
||
// Sorted type keys: | ||
export type ClientApplication = { | ||
type: number; | ||
name: string; | ||
service: string; | ||
}; | ||
|
||
// Sorted type union: | ||
export type OnboardingStepName = 'BLOCK' | 'ALBUM_INFO' | 'CAST'; | ||
|
||
// Sorted object keys: | ||
export function ProfileImageRepresentation({ | ||
width, | ||
className, | ||
desiredWidth, | ||
resourceId, | ||
}) { | ||
const style = { | ||
height: (() => {})(), | ||
width: (() => {})(), | ||
}; | ||
|
||
// Sorted JSX props: | ||
return ( | ||
<ResourceImage | ||
width={desiredWidth} | ||
className={classnames(styles.profilePicture, className)} | ||
desiredWidth={desiredWidth} | ||
resourceId={resourceId} | ||
type="profile" | ||
/> | ||
); | ||
} |
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