/** @jsxImportSource @fluentui-react-native/framework-base */ import type * as React from 'react'; import { Pressable } from 'react-native'; import type { UseSlots } from '@fluentui-react-native/framework'; import { compose } from '@fluentui-react-native/framework'; import { Icon } from '@fluentui-react-native/icon'; import { TextV1 as Text } from '@fluentui-react-native/text'; import type { FABProps, FABType } from './FAB.types'; import { fabName } from './FAB.types'; export const FAB = compose({ displayName: fabName, slots: { root: Pressable, icon: Icon, content: Text, }, useRender: (_userProps: FABProps, _useSlots: UseSlots) => { return (_final: FABProps, ..._children: React.ReactNode[]) => { return null; // Only implemented for mobile endpoints }; }, });