#338 Use prop instead of attr