source: trip-planner-front/node_modules/@fortawesome/fontawesome-common-types/README.md

Last change on this file was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 983 bytes
Line 
1# @fortawesome/fontawesome-common-types - SVG with JavaScript
2
3> "I came here to chew bubblegum and install Font Awesome 5 - and I'm all out of bubblegum"
4
5[![npm](https://img.shields.io/npm/v/@fortawesome/fontawesome-common-types.svg?style=flat-square)](https://www.npmjs.com/package/@fortawesome/fontawesome-common-types)
6
7## What is this package?
8
9Font Awesome 5 JavaScript packages support TypeScript. This package abstracts out some of the common definitions that those packages use.
10
11## Here be dragons
12
13If you are trying to import types from this package we *highly* recommend you do the following instead as *all types in this package are re-exported to the main fontawesome package*.
14
15your.ts
16
17```
18import {
19 IconName
20} from `@fortawesome/fontawesome-svg-core`
21
22const myIcon: IconName = "..."
23```
24
25## Issues and support
26
27Start with [GitHub issues](https://github.com/FortAwesome/Font-Awesome/issues) and ping us on [Twitter](https://twitter.com/fontawesome) if you need to.
Note: See TracBrowser for help on using the repository browser.