mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
15 lines
610 B
TypeScript
15 lines
610 B
TypeScript
// Component for {% not-enabled /%} markdoc tag. Shows a flask icon with a
|
|
// tooltip so you can indicate that a feature is not enabled on the
|
|
// XRP Ledger Mainnet. Legacy usage, mostly; prefer {% amendment-disclaimer %}
|
|
// for most cases.
|
|
|
|
import { useThemeHooks } from '@redocly/theme/core/hooks'
|
|
|
|
export default function NotEnabled() {
|
|
const { useTranslate } = useThemeHooks()
|
|
const { translate } = useTranslate()
|
|
return (
|
|
<span className="status not_enabled" title={translate("This feature is not currently enabled on the production XRP Ledger.")}><i className="fa fa-flask"></i></span>
|
|
)
|
|
}
|