Images - React-Bootstrap
文章推薦指數: 80 %
Skip to content react-bootstrap. HomeGetting StartedComponents. v2.2.1 (Bootstrap 5.1). Github Discord · Getting startedLayoutFormsComponents. MenuGettingstartedLayoutFormsComponentsAlertsAccordionBadgeBreadcrumbButtonsButtonGroupCardsCarouselCloseButtonDropdownsFiguresImagesListGroupModalNavsNavbarOffcanvasOverlaysPaginationPlaceholderPopoversProgressSpinnersTableTabsTooltipsToastsUtilitiesMigratingAboutImagesShape#Usetherounded,roundedCircleandthumbnailpropstocustomise theimage.Fluid#Usethefluidtoscaleimagenicelytotheparentelement.API#Image#viewsourcefileimportImagefrom'react-bootstrap/Image'CopyimportcodefortheImagecomponentNameTypeDefaultDescriptionfluidbooleanfalseSetsimageasfluidimage.roundedbooleanfalseSetsimageshapeasrounded.roundedCirclebooleanfalseSetsimageshapeascircle.thumbnailbooleanfalseSetsimageshapeasthumbnail.bsPrefixstring'img'ChangetheunderlyingcomponentCSSbaseclassnameandmodifierclassnamesprefix.Thisisanescapehatchforworkingwithheavilycustomizedbootstrapcss.
延伸文章資訊
- 1react-bootstrap - GitHub
- 2Badges - React-Bootstrap
Skip to content react-bootstrap. HomeGetting StartedComponents. v2.2.1 (Bootstrap 5.1). Github Di...
- 3React-Bootstrap · React-Bootstrap Documentation
Rebuilt with React. React-Bootstrap replaces the Bootstrap JavaScript. Each component has been bu...
- 4Migrating to v2 - React-Bootstrap
v2.2.1 (Bootstrap 5.1). Github Discord · Getting startedLayoutFormsComponentsUtilitiesMigratingAb...
- 5Images - React-Bootstrap
Skip to content react-bootstrap. HomeGetting StartedComponents. v2.2.1 (Bootstrap 5.1). Github Di...