Updated the divider class to use optional text instead of icon.