跳到主要内容

Xray

Components​

The Xray component family provides the following components:

Xray​

A component to code-highlight JSON data

You can import the Xray component from the xray component family in the @openclothes/react package:

Javascript
import { Xray } from "@openclothes/react/components/Xray"

Constants​

The Xray family exports the following constants:

defaultComponents​

Default Xray components that you can override

You can import the defaultComponents constant from the xray family in the @openclothes/react package:

Javascript
import { defaultComponents } from "@openclothes/react/components/Xray"