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

export const moduleClassnames = ({
	classnamesInstance,
	attrs,
}: ModuleClassnamesParams<MapsListingAttrs>): void => {
	classnamesInstance.add(textOptionsClassnames(attrs?.module?.advanced?.text));
};
