react-sxbox
v0.1.0
Published
an inline-CSS-styles based unstyled component for React DOM
Downloads
8
Readme
��#� ��r�e�a�c�t�-�s�x�b�o�x�
�
�
�
�
�A�n� �i�n�l�i�n�e�-�C�S�S�-�s�t�y�l�e�s� �b�a�s�e�d� �u�n�s�t�y�l�e�d� �c�o�m�p�o�n�e�n�t� �f�o�r� �R�e�a�c�t� �D�O�M�
�
�
�
�#�#� �F�e�a�t�u�r�e�s�
�
�
�
�#�#� �E�x�a�m�p�l�e� �U�s�a�g�e�
�
�
�
��
��
�t�s�
�
�i�m�p�o�r�t� �B�o�x� �f�r�o�m� �'�r�e�a�c�t�-�s�x�b�o�x�'�;�
�
�
�
�<�B�o�x�
�
� � �/�/� �Y�o�u� �c�a�n� �p�u�t� �H�T�M�L� �a�t�t�r�i�b�u�t�e�s� �h�e�r�e�.�.�.�
�
� � �i�d�=�"�a�p�p�"�
�
� � �c�l�a�s�s�N�a�m�e�=�"�s�o�m�e�-�c�l�a�s�s�"�
�
� � �/�/� �O�r� �s�t�y�l�e�s�.�.�.�
�
� � �d�i�s�p�l�a�y�=�"�f�l�e�x�"�
�
� � �f�l�e�x�D�i�r�e�c�t�i�o�n�=�"�r�o�w�"�
�
�>�
�
�<�/�B�o�x�>�;�
�
�
�
�f�u�n�c�t�i�o�n� �g�e�n�B�o�x�(�s�x�)�{�
�
�
�
�}�
�
��
��s�
�
�
�
�#�#� �A�P�I� �D�o�c�u�m�e�n�t�a�t�i�o�n�
�
�
��
�`�
�
�