Images - React-Bootstrap

文章推薦指數: 80 %
投票人數:10人

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.



請為這篇文章評分?