
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@knotel/transportation
Advanced tools
Reusable Component in Knotel's Design System
import TransitCard from '@knotel/transportation'
@knotel/cinderblock
prop-types
react-dom
react-map-gl
react
styled-components
<TransitCard
mapboxToken="XXXX"
clientID="XXXX"
clientSecret="XXXX"
lat={51.516}
lng={-0.133}
zoom={{ desktop: 10, mobile: 15 }}
/>
Prop | Type | Default | Note |
---|---|---|---|
mapboxToken | string! | Mapbox API access token for MapboxGL . | |
clientID | string! | Client id for Foursquare API . | |
clientSecret | string! | Client secret for Foursquare API . | |
zoom | number or object | 15 | Initial the zoom level of the map on desktop version. If passed a number, it's set as initial value on desktop and mobile version. If passed a object, you can set the zoom level as on mobile version as on desktop version separately. For example { desktop: 15, mobile: 15 } |
lat | number! | The latitude of the center of the map. | |
lng | number! | The longitude of the center of the map. |
2
FAQs
Reusable Component in Knotel's Design System
The npm package @knotel/transportation receives a total of 0 weekly downloads. As such, @knotel/transportation popularity was classified as not popular.
We found that @knotel/transportation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 28 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.