import { ModuleClassnamesParams, textOptionsClassnames } from '@divi/module';
import { PaginationAttrs } from './types';

/**
 * Module classnames function for Pagination.
 *
 * @since ??
 *
 * @param {ModuleClassnamesParams<PaginationAttrs>} param0 Function parameters.
 */
export const moduleClassnames = ({
	classnamesInstance,
	attrs,
}: ModuleClassnamesParams<PaginationAttrs>): void => {
	// Text Options.
	classnamesInstance.add(textOptionsClassnames(attrs?.module?.advanced?.text));
};
