/** * Generate a BEM-like name from a conditional modifier. * We take the paramText and generate a stringified BEM classname * - props => props.primary //-->// primary * - props => props.size === 'large' //-->// size-large * - props => props.round && props.size !== 'small' //-->// --round-and-size-not-small * - It is expected that the generated class will be appended to the main className with a `--` leader. * These long names are useful in development but can be minimized for production. */ export default function generateModifierName(paramName: string | undefined, bodyText: string): string;