mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
Some checks failed
🤖 Android APK Build / 🏗️ Build Android APK (push) Has been cancelled
🤖 iOS IPA Build / 🏗️ Build iOS IPA (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🕒 Handle Stale Issues / 🗑️ Cleanup Stale Issues (push) Has been cancelled
29 lines
683 B
TypeScript
29 lines
683 B
TypeScript
import { View, type ViewProps } from "react-native";
|
|
|
|
interface Props extends ViewProps {
|
|
index: number;
|
|
}
|
|
|
|
export const VerticalSkeleton: React.FC<Props> = ({ index, ...props }) => {
|
|
return (
|
|
<View
|
|
key={index}
|
|
style={{
|
|
width: "32%",
|
|
}}
|
|
className='flex flex-col'
|
|
{...props}
|
|
>
|
|
<View
|
|
style={{
|
|
aspectRatio: "10/15",
|
|
}}
|
|
className='w-full bg-neutral-800 mb-2 rounded-lg'
|
|
/>
|
|
<View className='h-2 bg-neutral-800 rounded-full mb-1' />
|
|
<View className='h-2 bg-neutral-800 rounded-full mb-1' />
|
|
<View className='h-2 bg-neutral-800 rounded-full mb-2 w-1/2' />
|
|
</View>
|
|
);
|
|
};
|