@fuel-infrastructure/fuel-hyperlane-widgets
v0.0.12
Published
Common react components for Hyperlane projects
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/widgetsPeer 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.
