Updated to use peer deps, fixed example usage to use id instead of key