@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
21 lines (19 loc) • 506 B
TypeScript
declare module '@salesforce/design-system-react/components/carousel/private/auto-play-button' {
import React from 'react';
type Props = {
/**
* Description of the start/pause autoplay button for screen-readers.
*/
assistiveText?: string;
/**
* Indicates whether autoplay is enabled
*/
isAutoplayOn?: boolean;
/**
* Triggered when the autoplay button is clicked.
*/
onClick?: (v: any) => any;
};
function Component(props: Props): JSX.Element;
export default Component;
}