Coder Social home page Coder Social logo

chenhaizhou / fortnite-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eddsonrengifo/fortnite-components

0.0 2.0 0.0 75.41 MB

A library of Fortnite's components

Home Page: https://fortnite-components.vercel.app

License: MIT License

JavaScript 13.14% Shell 0.25% HTML 0.36% TypeScript 83.82% CSS 2.43%

fortnite-components's Introduction

Fortnite's Components

A library of fortnite's components

NPM

Install

NPM: npm install fortnite-components --save-dev
YARN: yarn add fortnite-components --dev

Usage

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' />
}

Components

  • StoreCard
  • LockerCard
  • CharacterCard
  • FishCard
  • BattlepassCard
  • EventCard
  • AchievementCard
  • PresetCard

You can see the components in my Storybook

Fortnite Components Storybook

Customizable

The components have a variety of props, so the component can be very customizable

for example

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

Preview of the component

Screenshot from 2021-05-07 20-25-50

License

MIT © EddsonRT

Help me

Use code EddsonRT in the Item Shop of Fortnite

fortnite-components's People

Contributors

eddsonrengifo avatar renovate-bot avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.