taylor-swift-lyrics
v1.0.16
Published
Provides a react component of Taylor Swift's song's lyrics
Downloads
43
Maintainers
Readme
��#� �t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�
�
�
�
�G�e�n�e�r�a�t�e� �a� �c�u�s�t�o�m�i�z�a�b�l�e� �R�e�a�c�t� �c�o�m�p�o�n�e�n�t� �f�o�r� �N�e�x�t�.�j�s� �a�p�p�s� �o�f� �T�a�y�l�o�r� �S�w�i�f�t�'�s� �s�o�n�g�'�s� �l�y�r�i�c�s�.�
�
�
�
�#�#� �N�O�T�E�S�
�
�
�
�-� �T�h�e� �f�i�l�e� �t�y�p�e� �o�f� �t�h�i�s� �p�a�c�k�a�g�e� �i�s� �a�u�t�o�m�a�t�i�c�a�l�l�y� �s�e�t� �t�o� �c�o�m�m�o�n�J�S�,� �a�p�p� �t�h�a�t� �u�s�e�s� �t�y�p�e�:�m�o�d�u�l�e� �w�i�l�l� �r�u�n� �i�n�t�o� �a�n� �e�r�r�o�r�.� �I�'�m� �t�r�y�i�n�g� �t�o� �w�o�r�k� �o�u�t� �a� �s�o�l�u�t�i�o�n�,� �a�s� �o�f� �n�o�w� �t�h�i�s� �p�a�c�k�a�g�e� �i�s� �l�i�m�i�t�e�d� �t�o� �N�e�x�t�.�j�s� �a�p�p�s�.�
�
�
�
�-� �S�o� �f�a�r�,� �s�o�n�g�s� �f�r�o�m� �R�e�p�u�t�a�t�i�o�n� �a�l�b�u�m� �a�r�e� �t�h�e� �o�n�l�y� �a�v�a�i�l�a�b�l�e� �s�o�n�g�s�.�
�
�
�
�-� �O�v�e�r�w�r�i�t�i�n�g� �d�e�f�a�u�l�t� �s�t�y�l�e�s� �m�e�a�n�s� �i�t� �w�i�l�l� �r�e�m�o�v�e� �t�h�e� �p�r�e�v�i�o�u�s� �d�e�f�a�u�l�t� �c�l�a�s�s�e�s�.�
�
�
�
�-� �B�e�w�a�r�e� �o�f� �p�r�e�d�e�f�i�n�e�d� �C�S�S� �t�h�a�t� �c�o�u�l�d� �p�r�e�v�e�n�t� �t�h�e� �d�e�f�a�u�l�t� �s�t�y�l�e�s� �f�r�o�m� �w�o�r�k�i�n�g�.� �I�f� �t�h�e� �d�e�f�a�u�l�t� �s�t�y�l�e�s� �a�r�e� �n�o�t� �w�o�r�k�i�n�g�,� �y�o�u� �c�a�n� �j�u�s�t� �s�i�m�p�l�y� �o�v�e�r�w�r�i�t�e� �e�v�e�r�y�t�h�i�n�g�.�
�
�
�
�#�#� �H�O�W� �T�O� �U�S�E�
�
�
�
�#�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
��
��
�
�n�p�m� �i� �t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�
�
�
��
�
�
�
�
�#�#�#� �I�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�C�o�m�p�o�n�e�n�t� �c�o�m�p�o�n�e�n�t� �f�r�o�m� �t�h�e� �p�a�c�k�a�g�e�
�
�
�
��
��j�s�x�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
��
�
�
�
�
�#�#�#� �P�a�s�s� �t�h�e� �t�i�t�l�e� �o�f� �t�h�e� �s�o�n�g� �a�s� �a� �S�t�r�i�n�g�.� �A�l�l� �l�o�w�e�r�c�a�s�e�,� �r�e�p�l�a�c�e� �w�h�i�t�e�s�p�a�c�e� �w�i�t�h� �u�n�d�e�r�s�c�o�r�e�,� �a�n�d� �o�m�i�t� �a�l�l� �q�u�o�t�a�t�i�o�n�s�.�
�
�
�
�>� �e�x�a�m�p�l�e�:� �D�o�n�'�t� �B�l�a�m�e� �M�e� �=� �d�o�n�t�_�b�l�a�m�e�_�m�e�
�
�
�
��
��j�s�x�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �r�e�t�u�r�n� �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �s�o�n�g�=�{�"�s�o�_�i�t�_�g�o�e�s�"�}� �/�>�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �S�o�m�e�P�a�g�e�;�
�
�
��
�
�
�
�
�#�#�#� �A�d�d�i�n�g� �c�u�s�t�o�m� �s�t�y�l�e�s�
�
�
�
�A�d�d�i�n�g� �t�h�e� ���c�u�s�t�o�m�S�t�y�l�e�s��� �p�r�o�p� �i�s� �o�p�t�i�o�n�a�l�.�
�
�
�
�T�h�e� �l�y�r�i�c� �c�o�m�p�o�n�e�n�t� �i�s� �c�o�n�s�i�s�t�s� �o�f� �f�o�u�r� �c�u�s�t�o�m�i�z�a�b�l�e� �e�l�e�m�e�n�t�s� �t�h�a�t� �c�o�m�e�s� �w�i�t�h� �d�e�f�a�u�l�t� �s�t�y�l�e�s�.�
�
�
�
�-� �w�r�a�p�p�e�r�:� �p�a�d�d�i�n�g� �=� �2�r�e�m� �/� �3�2�p�x�
�
�
�
�-� �t�i�t�l�e�:� �f�o�n�t�-�s�i�z�e� �=� �1�.�5�r�e�m� �/� �2�4�p�x�,� �f�o�n�t�-�w�e�i�g�h�t� �=� �6�0�0�,� �m�a�r�g�i�n�-�b�o�t�t�o�m� �=� �1�.�5�r�e�m� �/� �2�4�p�x�
�
�
�
�-� �l�i�n�e�_�c�o�n�t�a�i�n�e�r�:�
�
�
�
�-� �l�i�n�e�s�:� �m�a�r�g�i�n�-�t�o�p�:� �1�r�e�m� �/� �1�6�p�x�,� �m�a�r�g�i�n�-�b�o�t�t�o�m�:� �1�r�e�m� �/� �1�6�p�x�
�
�
�
�P�a�s�s� �y�o�u�r� �d�e�s�i�r�e�d� �s�t�y�l�e�s� �a�s� �a�n� �o�b�j�e�c�t� �t�o� �t�h�e� ���c�u�s�t�o�m�S�t�y�l�e�s��� �p�r�o�p�.� �Y�o�u� �c�a�n� �u�s�e� �T�a�i�l�w�i�n�d�C�S�S� �u�t�i�l�i�t�y� �c�l�a�s�s�e�s� �i�f� �y�o�u� �h�a�v�e� �i�t� �c�o�n�f�i�g�u�r�e�d�.� �V�i�s�i�t� �T�a�i�l�w�i�n�d�C�S�S� �[�h�e�r�e�]�(�h�t�t�p�s�:�/�/�t�a�i�l�w�i�n�d�c�s�s�.�c�o�m�/�)� �t�o� �v�i�e�w� �a�l�l� �a�v�a�i�l�a�b�l�e� �u�t�i�l�i�t�y� �c�l�a�s�s�e�s�.�
�
�
�
�#�#�#�#� �E�x�a�m�p�l�e�:� �W�i�t�h�o�u�t� �c�u�s�t�o�m�S�t�y�l�e�s� �p�r�o�p�,� �w�i�l�l� �u�s�e� �t�h�e� �d�e�f�a�u�l�t� �s�t�y�l�e�
�
�
�
��
��j�s�x�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �r�e�t�u�r�n� �(�
�
� � �<�d�i�v�>�
�
� � � �<�h�1�>�l�o�r�e�m� �i�p�s�u�m� �d�o�l�o�r� �s�i�t� �a�m�e�t�<�/�h�1�>�
�
� � � �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �s�o�n�g�=�{�"�r�e�a�d�y�_�f�o�r�_�i�t�"�}� �/�>�
�
� � �<�/�d�i�v�>�
�
� �)�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �S�o�m�e�P�a�g�e�;�
�
�
��
�
�
�
�
�#�#�#�#� �E�x�a�m�p�l�e�:� �W�i�t�h� �c�u�s�t�o�m�S�t�y�l�e�s� �p�r�o�p�,� �w�i�l�l� �o�v�e�r�w�r�i�t�e� �t�h�e� �d�e�f�a�u�l�t� �s�t�y�l�e�
�
�
�
��
��j�s�x�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�i�m�p�o�r�t� �"�.�/�m�y�-�s�t�y�l�e�s�.�c�s�s�"�;� �/�/� �d�o�n�'�t� �f�o�r�g�e�t� �t�o� �i�m�p�o�r�t� �y�o�u�r� �c�s�s� �f�i�l�e�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �r�e�t�u�r�n� �(�
�
� � �<�d�i�v�>�
�
� � � �<�h�1�>�l�o�r�e�m� �i�p�s�u�m� �d�o�l�o�r� �s�i�t� �a�m�e�t�<�/�h�1�>�
�
� � � �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s�
�
� � � � �s�o�n�g�=�{�"�e�n�d�_�g�a�m�e�"�}�
�
� � � � �c�u�s�t�o�m�S�t�y�l�e�s�=�{�{�
�
� � � � � �w�r�a�p�p�e�r�:� �"�c�u�s�t�o�m�-�w�r�a�p�p�e�r�"�,� �/�/� �c�l�a�s�s� �f�r�o�m� �m�y�-�s�t�y�l�e�s�.�c�s�s�
�
� � � � � �t�i�t�l�e�:� �"�c�u�s�t�o�m�-�t�i�t�l�e�"�,�
�
� � � � � �l�i�n�e�_�c�o�n�t�a�i�n�e�r�:� �"�c�u�s�t�o�m�-�l�i�n�e�-�c�o�n�t�a�i�n�e�r�"�,�
�
� � � � � �l�i�n�e�s�:� �"�c�u�s�t�o�m�-�l�i�n�e�s�"�,�
�
� � � � �}�}�
�
� � � �/�>�
�
� � �<�/�d�i�v�>�
�
� �)�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �S�o�m�e�P�a�g�e�;�
�
�
��
�
�
�
�
�o�r�
�
�
�
��
��j�s�x�
�
�/�/� �E�x�a�m�p�l�e�:� �W�i�t�h� �c�u�s�t�o�m�S�t�y�l�e�s� �p�r�o�p�,� �w�i�l�l� �o�v�e�r�w�r�i�t�e� �t�h�e� �d�e�f�a�u�l�t� �s�t�y�l�e�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�i�m�p�o�r�t� �"�.�/�m�y�-�s�t�y�l�e�s�.�c�s�s�"�;� �/�/� �d�o�n�'�t� �f�o�r�g�e�t� �t�o� �i�m�p�o�r�t� �y�o�u�r� �c�s�s� �f�i�l�e�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �c�o�n�s�t� �m�y�S�t�y�l�e�s� �=� �{�
�
� � �w�r�a�p�p�e�r�:� �"�c�u�s�t�o�m�-�w�r�a�p�p�e�r�"�,� �/�/� �c�l�a�s�s� �f�r�o�m� �m�y�-�s�t�y�l�e�s�.�c�s�s�
�
� � �t�i�t�l�e�:� �"�c�u�s�t�o�m�-�t�i�t�l�e�"�,�
�
� � �l�i�n�e�_�c�o�n�t�a�i�n�e�r�:� �"�c�u�s�t�o�m�-�l�i�n�e�-�c�o�n�t�a�i�n�e�r�"�,�
�
� � �l�i�n�e�s�:� �"�c�u�s�t�o�m�-�l�i�n�e�s�"�,�
�
� �}�;�
�
�
�
� �r�e�t�u�r�n� �(�
�
� � �<�d�i�v�>�
�
� � � �<�h�1�>�l�o�r�e�m� �i�p�s�u�m� �d�o�l�o�r� �s�i�t� �a�m�e�t�<�/�h�1�>�
�
� � � �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s�
�
� � � � �s�o�n�g�=�{�"�e�n�d�_�g�a�m�e�"�}�
�
� � � � �c�u�s�t�o�m�S�t�y�l�e�s�=�{�m�y�S�t�y�l�e�s�}�
�
� � � �/�>�
�
� � �<�/�d�i�v�>�
�
� �)�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �S�o�m�e�P�a�g�e�;�
�
�
��
�
�
�
�
�o�r� �i�f� �y�o�u� �j�u�s�t� �w�a�n�t� �t�o� �o�v�e�r�w�r�i�t�e� �o�n�e� �c�u�s�t�o�m�i�z�a�b�l�e� �e�l�e�m�e�n�t�,�
�
�
�
��
��j�s�x�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�i�m�p�o�r�t� �"�.�/�m�y�-�s�t�y�l�e�s�.�c�s�s�"�;� �/�/� �d�o�n�'�t� �f�o�r�g�e�t� �t�o� �i�m�p�o�r�t� �y�o�u�r� �c�s�s� �f�i�l�e�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �r�e�t�u�r�n� �(�
�
� � �<�d�i�v�>�
�
� � � �<�h�1�>�l�o�r�e�m� �i�p�s�u�m� �d�o�l�o�r� �s�i�t� �a�m�e�t�<�/�h�1�>�
�
� � � �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s�
�
� � � � �s�o�n�g�=�{�"�e�n�d�_�g�a�m�e�"�}�
�
� � � � �c�u�s�t�o�m�S�t�y�l�e�s�=�{�{�
�
� � � � � �t�i�t�l�e�:� �"�c�u�s�t�o�m�-�t�i�t�l�e�"�,� �/�/� �o�v�e�r�w�r�i�t�e� �d�e�f�a�u�l�t� �s�t�y�l�e�s� �o�f� �t�i�t�l�e�,� �t�h�e� �r�e�s�t� �w�i�l�l� �r�e�t�a�i�n� �t�h�e�i�r� �d�e�f�a�u�l�t� �s�t�y�l�e�s�
�
� � � � �}�}�
�
� � � �/�>�
�
� � �<�/�d�i�v�>�
�
� �)�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �S�o�m�e�P�a�g�e�;�
�
�
��
�
�
�
�
�I�f� �y�o�u� �h�a�v�e� �T�a�i�l�w�i�n�d�C�S�S� �c�o�n�f�i�g�u�r�e�d�,� �y�o�u� �c�a�n� �u�s�e� �T�a�i�l�w�i�n�d� �u�t�i�l�i�t�y� �c�l�a�s�s�e�s� �i�n�s�t�e�a�d�.�
�
�
�
��
��j�s�x�
�
�/�/� �c�o�m�p�o�n�e�n�t�s�/�S�o�m�e�P�a�g�e�.�j�s�
�
�i�m�p�o�r�t� �T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s� �f�r�o�m� �"�t�a�y�l�o�r�-�s�w�i�f�t�-�l�y�r�i�c�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �S�o�m�e�P�a�g�e�(�)� �{�
�
� �r�e�t�u�r�n� �(�
�
� � �<�d�i�v�>�
�
� � � �<�h�1�>�l�o�r�e�m� �i�p�s�u�m� �d�o�l�o�r� �s�i�t� �a�m�e�t�<�/�h�1�>�
�
� � � �<�T�a�y�l�o�r�S�w�i�f�t�L�y�r�i�c�s�
�
� � � � �s�o�n�g�=�{�"�e�n�d�_�g�a�m�e�"�}�
�
� � � � �c�u�s�t�o�m�S�t�y�l�e�s�=�{�{�
�
� � � � � �w�r�a�p�p�e�r�:� �"�p�-�8� �b�g�-�e�m�e�r�a�l�d�-�8�0�0�"�,�
�
� � � � � �t�i�t�l�e�:� �"�t�e�x�t�-�3�x�l� �f�o�n�t�-�s�e�m�i�b�o�l�d� �t�e�x�t�-�n�e�u�t�r�a�l�-�1�0�0�"�,�
�
� � � � �}�}�
�
� � � �/�>�
�
� � �<�/�d�i�v�>�
�
� �)�;�
�
�}�
�
�
��
�
�
�
�
�#�#� �E�x�p�e�c�t�e�d� �r�e�s�u�l�t� �w�i�t�h� �d�e�f�a�u�l�t� �s�t�y�l�e�s�
�
�
�
�!�[�L�y�r�i�c� �C�o�m�p�o�n�e�n�t� �E�x�a�m�p�l�e�]�(�p�u�b�l�i�c�/�i�m�a�g�e�s�/�s�c�r�e�e�n�c�a�p�t�u�r�e�-�l�o�c�a�l�h�o�s�t�-�3�0�0�0�-�2�0�2�4�-�0�1�-�2�0�-�1�1�_�5�2�_�3�9�.�p�n�g�)�
�
�
�
�#�#� �N�o�n�-�p�r�o�f�i�t�a�b�l�e� �a�n�d� �h�a�s� �n�o� �c�o�n�n�e�c�t�i�o�n� �t�o� �T�a�y�l�o�r� �S�w�i�f�t�
�
�