Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
830 B · 33 lines
TSX
at main
12345678910111213141516171819202122232425262728293031323334import {View} from 'react-native'
import {atoms as a, useTheme} from '#/alf'import {type Props, useCommonSVGProps} from '#/components/icons/common'import {Loader_Stroke2_Corner0_Rounded as Icon} from '#/components/icons/Loader'
export function Loader(props: Props) { const t = useTheme() const common = useCommonSVGProps(props)
return ( <View style={[ a.relative, a.justify_center, a.align_center, {width: common.size, height: common.size}, ]}> {/* css rotation animation - /bskyweb/templates/base.html */} <div className="rotate-500ms"> <Icon {...props} style={[ a.absolute, a.inset_0, t.atoms.text_contrast_high, props.style, ]} /> </div> </View> )}