Check out example codes for "media query change button text". It will help you in understanding the concepts better.

Code Example 1

<button type="button" class="btn btn-default btn-md btn-block">
    <i class="fa fa-plus"></i>
    <span class="button-text">Add New Item</span>
</button>

@media screen and (max-width: 300px) {
    .button-text {
        display: none;
    }
}

Learn ReactJs, React Native from akashmittal.com