mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
* Get basic HTML loading for faucet page * Add xrpl.js implementation * Add sidebar and fix throbber * Add translates * Try to format sidebar * Fix formatting * Support xrpl.js * Fix links * Comment out XRPLGuard for now * Make AMM Devnet faucet work * Improve readability * Update all instances of link + fix topnav * Remove unnecessary file * Use a more current version of xrpl * Add missing loader while keys are generating * Type with xrpl and remove unnecessary script * Use string interpolation instead of multiple trans * Move faucets into a json file * Remove the old faucet code * Use xrpl-beta directly * Use dropsToXRP * Support hooks natively * Remove AMM-Devnet * Revert changes to link path * Revert link changes pt 2 * Revert pt 3 * Use XRPLoader for loading icon * Fix small mistakes * Remove unnecessary changes
14 lines
322 B
TypeScript
14 lines
322 B
TypeScript
import * as React from 'react';
|
|
|
|
export interface XRPLoaderProps {
|
|
message?: string
|
|
}
|
|
|
|
export default function XRPLoader(props: XRPLoaderProps) {
|
|
return (
|
|
<div id="loader" style={{ display: "inline" }}>
|
|
<img alt="(loading)" className="throbber" src="/img/xrp-loader-96.png" />
|
|
{props.message}
|
|
</div>);
|
|
}
|