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

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