1.1.11 • Published 3 years ago

fxgcomponents_galaf003 v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

TP1 Création de Components React

   

🤓 Description

Vous trouverez dans ce dossier une StoryBook de 10 Components React modifiable incluant 3 exemple de modification pour chacun.

  

🎌 Pour Démarrer la StoryBook

yarn storybook 

  

Liste des Components

  1. Alert (code Component, code Story)
  2. Avatar (code Component, code Story)
  3. Button (code Component, code Story)
  4. Card (code Component, code Story)
  5. DropDown (code Component, code Story)
  6. Navbar (code Component, code Story)
  7. Pagination (code Component, code Story)
  8. Table (code Component, code Story)
  9. Tag (code Component, code Story)
  10. Upload (code Component, code Story)

  

🫵 Modification Possible des Components

Alert (React-Bootstrap)

NomTypeOptionDescription
textstring"Le texte de votre choix"Le texte qui apparaitreras pour votre alerte
varientstring'primary', 'secondary', 'success', 'danger','warning', 'info', 'dark', 'light'couleur d'arrière plan

Avatar (ANT-Desing)

NomTypeOptionDescription
colorstring(rgb, rgba, nomDeCouleur etc..)La couleur d'arrière plan désiré
varientstring'Le texte de votre choix'Le mot qui apparaitras pour votre avtatar
typestring'small','medium','large'Grosseur de l'avatar

Button (ANT-Desing)

NomTypeOptionDescription
textstring'Le texte de votre choix'Le texte qui apparais dans le bouton
typestring'primary', 'ghost', 'dashed', 'link', 'text', default'Aspect du bouton
sizestring'small','medium','large'Grosseur du Boutton

Card (React-Bootstrap)

NomTypeOptionDescription
textTitlestring"Le texte de votre choix"Le texte qui apparaitreras dans le corp de la carte
textBodystring"Le texte de votre choix"Le texte qui apparaitreras pour le titre de la carte
imgstring'Le lien ou le chemin de l'image de votre choix'L'image qui apparaitras dans la carte
widthstring(rem, em, %, px etc.. )Dimention de l'image shouaiter

Dropdown (ANT-Desing)

NomTypeOptionDescription
textstring'Le texte de votre choix'Le texte affiché par default
triggerstring'click''hover'contexMenuClic gauche pour défilerPasser au dessusClic droit sur pour défiler

NavBar (React-Bootstrap)

NomTypeOptionDescription
bgColorstring'primary', 'secondary', 'success', 'danger','warning', 'info', 'dark', 'light'couleur d'arrière plan
textColorstring'dark', 'light'couleur du texte qui s'ajuste selon la couleur de l'arrière plan

Pagination (ANT-Desing)

NomTypeOptionDescription
totalItemnumberle nombre de votre choixnombre d'items maximum souhaité dans une page
jumperVisiblebooleantrue, falsepour afficher le "jumper"
changerVisiblebooleantrue, falsepour afficher le "changer"

Table (React-Bootstrap)

NomTypeOptionDescription
sizestring'sm', 'null'compact le tableau en réduisant le "padding"
darkModestring'dark', 'null'met le tableau en mode sombre

Tag (ANT-Desing)

NomTypeOptionDescription
colorstring(rgb, rgba, nomDeCouleur etc..)choix de la couleur du Tag

Upload (ANT-Desing)

NomTypeOptionDescription
textstring'Le texte de votre choix'nomme le nom du téléchargement que vous souhaiter

  

📖 Bibliothèque externe Utilisé

  

🕺Contributeurs

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.7

3 years ago

1.1.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago