import React from 'react';
import { IonFab, IonFabButton, IonFabList, IonContent, IonIcon } from '@ionic/react';
import {
logoFacebook,
logoTwitter,
logoYoutube,
logoPwa,
logoNpm,
logoIonic,
logoGithub,
logoJavascript,
logoAngular,
logoVimeo,
logoChrome,
logoReact,
} from 'ionicons/icons';
export const FabListExample: React.FC = () => (
<IonContent>
<IonFab vertical="center" horizontal="center">
<IonFabButton>Share</IonFabButton>
<IonFabList side="top">
<IonFabButton>
<IonIcon icon={logoFacebook} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoTwitter} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoYoutube} />
</IonFabButton>
</IonFabList>
<IonFabList side="end">
<IonFabButton>
<IonIcon icon={logoPwa} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoNpm} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoIonic} />
</IonFabButton>
</IonFabList>
<IonFabList side="bottom">
<IonFabButton>
<IonIcon icon={logoGithub} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoJavascript} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoAngular} />
</IonFabButton>
</IonFabList>
<IonFabList side="start">
<IonFabButton>
<IonIcon icon={logoVimeo} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoChrome} />
</IonFabButton>
<IonFabButton>
<IonIcon icon={logoReact} />
</IonFabButton>
</IonFabList>
</IonFab>
</IonContent>
);