XDSSyntaxTheme@xds/core · theme
Usage
Applies syntax highlighting colors to XDSCodeBlock components.Import
tsimport {XDSSyntaxTheme} from '@xds/core/theme'
Props
| Prop | Type | Description |
|---|---|---|
themerequired | SyntaxTheme | Syntax highlighting theme to apply to child code components. |
childrenrequired | ReactNode | Content to render with the syntax theme. |