@fortawesome/free-brands-svg-icons#faCreativeCommonsSa JavaScript Examples
The following examples show how to use
@fortawesome/free-brands-svg-icons#faCreativeCommonsSa.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: License.jsx From frontend-app-library-authoring with GNU Affero General Public License v3.0 | 6 votes |
CreativeCommonsLicenseBase = ({ intl, link, commonsOptions }) => (
<a href={link} target="_blank" rel="noopener noreferrer license">
<span className="sr-only">
{intl.formatMessage(messages['library.common.license.cc.preface'])}
</span>
{commonsOptions.attribution && (
<>
<span className="sr-only">{intl.formatMessage(messages['library.common.license.cc.attribution'])}</span>
<FontAwesomeIcon icon={faCreativeCommonsBy} className="aria-hidden mr-1" />
</>
)}
{commonsOptions.nonCommercial && (
<>
<span className="sr-only">{intl.formatMessage(messages['library.common.license.cc.noncommercial'])}</span>
<FontAwesomeIcon icon={faCreativeCommonsNc} className="aria-hidden mx-1" />
</>
)}
{commonsOptions.noDerivatives && (
<>
<span className="sr-only">{intl.formatMessage(messages['library.common.license.cc.no_derivatives'])}</span>
<FontAwesomeIcon icon={faCreativeCommonsNd} className="aria-hidden mx-1" />
</>
)}
{commonsOptions.shareAlike && (
<>
<span className="sr-only">{intl.formatMessage(messages['library.common.license.cc.share_alike'])}</span>
<FontAwesomeIcon icon={faCreativeCommonsSa} className="aria-hidden mx-1" />
</>
)}
<strong>{intl.formatMessage(messages['library.common.license.cc.postscript'])}</strong>
</a>
)