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

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