Please fix up the grammar mistakes in this text:
Her teachers complimented her as being focused, creative and eager to learn.
Her teachers have complimented her on being focused, creative, and eager to learn.