function renderTextCaptions(captionTextStepNumber, captionsFormat, min, max) {
	if (captionTextStepNumber > 1) {
		const captions = getCaptionsValue(captionTextStepNumber, min, max);
		return (
			<div className={classnames(theme['tc-slider-captions'], 'tc-slider-captions')} key="captions">
				{captions.map((caption, index) => (
					<div
						className={classnames(
							theme['tc-slider-captions-element'],
							'tc-slider-captions-element',
						)}
						key={index}
					>
						{captionsFormat(caption)}
					</div>
				))}
			</div>
		);
	}
	return null;
}
/**
 * This function allow to get the text caption
 * @param {number} captionTextStepNumber the number of text captions
 * @param {function} captionsFormat the function to format the caption
 * @param {number} min min value of the slider
 * @param {number} max max value of the slider
 */
This function allow to get the text caption
@param {number} captionTextStepNumber the number of text captions
@param {function} captionsFormat the function to format the caption
@param {number} min min value of the slider
@param {number} max max value of the slider
This function allow to get the text caption @param { number } captionTextStepNumber the number of text captions @param { function } captionsFormat the function to format the caption @param { number } min min value of the slider @param { number } max max value of the slider
function renderTextCaptions(captionTextStepNumber, captionsFormat, min, max) {
	if (captionTextStepNumber > 1) {
		const captions = getCaptionsValue(captionTextStepNumber, min, max);
		return (
			<div className={classnames(theme['tc-slider-captions'], 'tc-slider-captions')} key="captions">
				{captions.map((caption, index) => (
					<div
						className={classnames(
							theme['tc-slider-captions-element'],
							'tc-slider-captions-element',
						)}
						key={index}
					>
						{captionsFormat(caption)}
					</div>
				))}
			</div>
		);
	}
	return null;
}
function renderTextCaptions ( captionTextStepNumber , captionsFormat , min , max ) { if ( captionTextStepNumber > 1 ) { const captions = getCaptionsValue ( captionTextStepNumber , min , max ) ; return ( < div className = { classnames ( theme [ 'tc-slider-captions' ] , 'tc-slider-captions' ) } key = "captions" > { captions . map ( ( caption , index ) => ( < div className = { classnames ( theme [ 'tc-slider-captions-element' ] , 'tc-slider-captions-element' , ) } key = { index } > { captionsFormat ( caption ) } < / div > ) ) } < / div > ) ; } return null ; }
This function allow to get the text caption
 @param {number} captionTextStepNumber the number of text captions
 @param {function} captionsFormat the function to format the caption
 @param {number} min min value of the slider
 @param {number} max max value of the slider
This function allow to get the text caption @param { number } captionTextStepNumber the number of text captions @param { function } captionsFormat the function to format the caption @param { number } min min value of the slider @param { number } max max value of the slider