chore(prettier): full repo linting and code reformatting once and for all (#3627)

This commit is contained in:
Alireza authored and GitHub committed 2023-09-01 16:19:39 -04:00
1 parent 01500a2d4c
commit 9045ddaedc
656 files changed
+21737 -20628

No files matched your search

@@ -34,17 +34,21 @@ const LegacyCinePlayer = ({
};
return (
<div className="flex flex-row items-center justify-center h-10 border rounded-full LegacyCinePlayer border-primary-light">
<div className="LegacyCinePlayer border-primary-light flex h-10 flex-row items-center justify-center rounded-full border">
<IconButton
variant="text"
color="inherit"
size="initial"
className="ml-4 mr-3 text-primary-active"
className="text-primary-active ml-4 mr-3"
onClick={onPlayPauseChangeHandler}
>
<Icon width="15px" height="15px" name={action[isPlaying].icon} />
<Icon
width="15px"
height="15px"
name={action[isPlaying].icon}
/>
</IconButton>
<div className="flex flex-col justify-center h-full pt-2 pl-1 pr-1 mr-3">
<div className="mr-3 flex h-full flex-col justify-center pt-2 pl-1 pr-1">
<input
type="range"
name="frameRate"
@@ -54,14 +58,12 @@ const LegacyCinePlayer = ({
value={frameRate}
onChange={onFrameRateChangeHandler}
/>
<p className="-mt-2 text-sm text-primary-light">{`${frameRate.toFixed(
1
)} fps`}</p>
<p className="text-primary-light -mt-2 text-sm">{`${frameRate.toFixed(1)} fps`}</p>
</div>
<IconButton
color="inherit"
size="initial"
className="mr-3 border rounded-full text-primary-active border-primary-active"
className="text-primary-active border-primary-active mr-3 rounded-full border"
onClick={onClose}
>
<Icon name="close" />
@@ -7,7 +7,10 @@ export const argTypes = {
title: 'Components/LegacyCinePlayer',
};
<Meta title="Components/LegacyCinePlayer" component={LegacyCinePlayer} />
<Meta
title="Components/LegacyCinePlayer"
component={LegacyCinePlayer}
/>
export const cineTemplate = createComponentTemplate(LegacyCinePlayer);