Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,15 @@
import * as React from 'react';
import { useCarouselButton_unstable } from './useCarouselButton';
import { renderCarouselButton_unstable } from './renderCarouselButton';
import { useCarouselButtonStyles_unstable } from './useCarouselButtonStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* A default navigation button that will set value to the next/previous page,
* driven by it's type 'next' or 'previous'.
*/ export const CarouselButton = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useCarouselButton_unstable(props, ref);
useCarouselButtonStyles_unstable(state);
useCustomStyleHook_unstable('useCarouselButtonStyles_unstable')(state);
return renderCarouselButton_unstable(state);
});
CarouselButton.displayName = 'CarouselButton';