@hyperlane-xyz/widgets
v7.0.0
Published
Common react components for Hyperlane projects
Downloads
2,482
Readme
Hyperlane Widgets
Common react components for projects using Hyperlane.
Installation
# Install with npm
npm install @hyperlane-xyz/widgets
# Or install with yarn
yarn add @hyperlane-xyz/widgets
Peer dependencies
This package requires @hyperlane-xyz/sdk
, react
, and react-dom
.
Contents
Components
ChainLogo
: A logo icon for a given chain IDMessageTimeline
: A timeline showing stages of message deliveryWideChevron
: A customizable version of Hyperlane's chevron logo
Hooks
useMessage
: Fetch data about a message from the Hyperlane ExploreruseMessageStage
: Fetch and compute message delivery stage and timingsuseMessageTimeline
: Fetch message data for use withMessageTimeline
Learn more
For more information, see the Hyperlane documentation.