Projekte
Auf GitHub ansehen
jxnblk/react-x-ray
Über uns
CSS-Layout-Debugger für React
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalReact X-Ray
React CSS Layout Debugger

npm i react-x-ray
Demo: http://jxnblk.com/react-x-ray
Usage
import React from 'react'
import XRay from 'react-x-ray'
const App = props => (
<XRay>
<div style={{ padding: 32 }}>
<h1>Look at me!</h1>
</div>
</XRay>
)
Props
grid(number or boolean) pixel dimensions of background gridoutline(boolean) show element outlinescenter(boolean) center the background gridcolor(string) base color for grid and outlinesbackgroundColor(string) background color of XRay component
Inspired by Tachyons X-RAY
MIT License
Ähnliche Projekte entdecken
Wird geladen…