@useloops/design-system
Version:
The official React based Loops design system
25 lines (22 loc) • 901 B
TypeScript
import { BoxProps } from '@mui/material';
import { FunctionComponent } from 'react';
import { IconProps } from 'systems/BrandCore/Icon/Icon';
import { SurfaceProps, TypographyProps } from 'systems/WebCore';
import { KpiIndicatorProps } from '../KpiIndicator/KpiIndicator.js';
interface ScrollIndicatorProps {
instructionText?: string | undefined;
animateIterationNumber?: 1 | 2 | 3 | 4 | 'infinite' | undefined;
indicatorColor?: KpiIndicatorProps['colorScheme'];
slotProps?: {
root?: BoxProps;
iconWrapper?: SurfaceProps;
icon?: IconProps;
instructionTextWrapper?: SurfaceProps;
instructionText?: TypographyProps;
};
show?: boolean | undefined;
hideTextBox?: boolean | undefined;
}
declare const ScrollIndicator: FunctionComponent<ScrollIndicatorProps>;
export { ScrollIndicator as default };
export type { ScrollIndicatorProps };