Files
bsky-social-app/modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx
T
Samuel Newman 007c21fa8e Add moduleSuffixes to tsconfig (#11146)
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-16 12:47:53 -07:00

15 lines
396 B
TypeScript

import {Component} from 'react'
import {type BottomSheetViewProps} from './BottomSheet.types'
export class BottomSheetNativeComponent extends Component<BottomSheetViewProps> {
/*
* Native sheets do not exist on web; there is nothing to dismiss.
*/
static dismissAll = async () => {}
render(): never {
throw new Error('BottomSheetNativeComponent is not available on web')
}
}