We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2877e02 commit 581a0b7Copy full SHA for 581a0b7
src/components/composites/Fab/Fab.tsx
@@ -5,7 +5,7 @@ import { usePropsResolution } from '../../../hooks/useThemeProps';
5
import { OverlayContainer } from '@react-native-aria/overlays';
6
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
7
8
-const Fab = (props: IFabProps, ref: any) => {
+const Fab = ({ variant, ...props }: IFabProps, ref: any) => {
9
const themeProps = usePropsResolution('FAB', props);
10
const {
11
label,
@@ -18,6 +18,7 @@ const Fab = (props: IFabProps, ref: any) => {
18
19
const fabComponent = (
20
<Button
21
+ variant={variant}
22
{...placementProps[placement]}
23
ref={ref}
24
startIcon={icon}
0 commit comments