`class` is a reserved word, will use `className` instead.