import React from 'react'; import { View } from 'react-native'; import { Text } from 'react-native-paper'; import { DTCard, DTChip, DTBadgeOverlay, DTStaggerContainer, useDTTheme, } from '@dangerousthings/react-native'; import type { DTVariant } from '@dangerousthings/react-native'; import { ScreenContainer } from '../components/ScreenContainer'; import { DemoSection } from '../components/DemoSection'; import { CodeLabel } from '../components/CodeLabel'; export function CardsAdvancedScreen() { const theme = useDTTheme(); const modes: DTVariant[] = ['normal', 'emphasis', 'warning', 'success', 'other']; return ( {/* Progress Bar */} {[0, 0.25, 0.5, 0.75, 1].map((val, i) => ( progress={{val}} ))} {/* Card Badges */} Badge color independent of card mode LAB Badge color independent of card mode BUNDLE Badge color independent of card mode NEW {/* Stagger + Progress */} {modes.map((mode) => ( Staggered + progress ))} ); }