A library of fortnite's components
NPM: npm install fortnite-components --save-dev
YARN: yarn add fortnite-components --dev
it's easy to use, just import the components you need
import React from 'react'
import { StoreCard } from 'fortnite-components'
const App = () => {
return <StoreCard name='Safari' />
}
- StoreCard
- LockerCard
- CharacterCard
- FishCard
- BattlepassCard
- EventCard
- AchievementCard
- PresetCard
You can see the components in my Storybook
The components have a variety of props, so the component can be very customizable
import { FishCard } from 'fortnite-components'
This component contain these props
Number Fish number
Image Fish image
Stars Fish stars
Size Fish size
Alert Indicates if the fish is new
Unknown Indicates if the fish exists but nothing is known about it
None Indicates if nothing is known about the fish
Featured Indicates whether the fish has protruded in any way
Text It's the featured text
onClick function that is executed when you click
MIT © EddsonRT
Use code EddsonRT in the Item Shop of Fortnite