This commit is contained in:
Manav Rathi 2024-05-04 11:15:06 +05:30
parent fdeb0f9493
commit efdf980558
No known key found for this signature in database
5 changed files with 8 additions and 10 deletions

View file

@ -1,6 +1,6 @@
import { styled } from "@mui/material";
const FilledCircleCheck = () => {
export const FilledCircleCheck: React.FC = () => {
return (
<Container>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
@ -11,8 +11,6 @@ const FilledCircleCheck = () => {
);
};
export default FilledCircleCheck;
const Container = styled("div")`
width: 100px;
height: 100px;

View file

@ -23,7 +23,7 @@ const colourPool = [
"#808000", // Light Olive
];
export default function LargeType({ chars }: { chars: string[] }) {
export const LargeType = ({ chars }: { chars: string[] }) => {
return (
<Container style={{}}>
{chars.map((char, i) => (
@ -41,7 +41,7 @@ export default function LargeType({ chars }: { chars: string[] }) {
))}
</Container>
);
}
};
const Container = styled("div")`
font-size: 4rem;

View file

@ -1,6 +1,6 @@
import FilledCircleCheck from "./FilledCircleCheck";
import { FilledCircleCheck } from "./FilledCircleCheck";
export default function PairedSuccessfullyOverlay() {
export const PairedSuccessfullyOverlay: React.FC = () => {
return (
<div
style={{
@ -43,4 +43,4 @@ export default function PairedSuccessfullyOverlay() {
</div>
</div>
);
}
};

View file

@ -1,6 +1,6 @@
import log from "@/next/log";
import EnteSpinner from "@ente/shared/components/EnteSpinner";
import LargeType from "components/LargeType";
import { LargeType } from "components/LargeType";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import { storeCastData } from "services/cast";

View file

@ -1,5 +1,5 @@
import log from "@/next/log";
import PairedSuccessfullyOverlay from "components/PairedSuccessfullyOverlay";
import { PairedSuccessfullyOverlay } from "components/PairedSuccessfullyOverlay";
import { SlideView } from "components/Slide";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";