Skip to main content

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 @freesewing/react package:

Javascript
import { Xray } from "@freesewing/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 @freesewing/react package:

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