Add OTA fallback for gallery embed (#10734)
Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import {View} from 'react-native'
|
||||
|
||||
import {atoms as a} from '#/alf'
|
||||
import {GalleryFallbackEmbed} from '#/components/Post/Embed/GalleryFallbackEmbed'
|
||||
import {H1, H3} from '#/components/Typography'
|
||||
|
||||
export function GalleryFallback() {
|
||||
return (
|
||||
<View style={[a.gap_md]}>
|
||||
<H1>Gallery fallback (APP-2308)</H1>
|
||||
|
||||
<H3>No count</H3>
|
||||
<GalleryFallbackEmbed />
|
||||
|
||||
<H3>1 photo</H3>
|
||||
<GalleryFallbackEmbed count={1} />
|
||||
|
||||
<H3>5 photos</H3>
|
||||
<GalleryFallbackEmbed count={5} />
|
||||
|
||||
<H3>10 photos</H3>
|
||||
<GalleryFallbackEmbed count={10} />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
@@ -16,6 +16,7 @@ import {Breakpoints} from './Breakpoints'
|
||||
import {Buttons} from './Buttons'
|
||||
import {Dialogs} from './Dialogs'
|
||||
import {Forms} from './Forms'
|
||||
import {GalleryFallback} from './GalleryFallback'
|
||||
import {Icons} from './Icons'
|
||||
import {Links} from './Links'
|
||||
import {Menus} from './Menus'
|
||||
@@ -120,6 +121,7 @@ export default function Storybook() {
|
||||
<Breakpoints />
|
||||
<Dialogs />
|
||||
<Admonitions />
|
||||
<GalleryFallback />
|
||||
<Settings />
|
||||
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user