Proyek
Lihat di GitHub
jxnblk/react-x-ray
Tentang
Debugger tata letak CSS untuk React
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliReact 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
Jelajahi proyek terkait
Memuat…