Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
at main 14 lines 454 B view raw
1import {FocusScope as RadixFocusScope} from 'radix-ui/internal' 2 3/* 4 * The web version of the FocusScope component is a proper implementation, we 5 * use this in Dialogs and such already. It's here as a convenient counterpart 6 * to the hacky native solution. 7 */ 8export function FocusScope({children}: {children: React.ReactNode}) { 9 return ( 10 <RadixFocusScope.FocusScope loop asChild trapped> 11 {children} 12 </RadixFocusScope.FocusScope> 13 ) 14}