export default function conditionalClass( condition: boolean, className: string ): string | undefined { return condition ? className : undefined; }