Skip to content

Commit

Permalink
Updated readme, sample.json, linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabernier committed Nov 9, 2024
1 parent b2e856d commit 3ef276e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
6 changes: 0 additions & 6 deletions samples/react-modern-carousel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ Create a SharePoint custom list `Award Recognition` in the SPO site with below c
| Designation | Text |
| UserImage | Image |

## Solution

| Solution | Author(s) |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| react-modern-carousel | Sandeep P S ( [LinkedIn](https://www.linkedin.com/in/sandeepps1299/) ) / Quadrasystems.net ( [Twitter](https://www.linkedin.com/company/quadrasystems.net-india-pvt-ltd) / [LinkedIn](https://www.linkedin.com/company/quadrasystems.net-india-pvt-ltd) ) |

## Contributors🧑‍💻

- [Sandeep P S](https://github.com/Sandeep-FED)
Expand Down
2 changes: 1 addition & 1 deletion samples/react-modern-carousel/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"This SharePoint Framework (SPFx) web part introduces a contemporary carousel component leveraging Swiper, facilitating seamless traversal through content housed within a SharePoint site. This innovative feature enhances user experience by providing fluid navigation through various pieces of content, thereby adding a touch of elegance and sophistication to the SharePoint environment."
],
"creationDateTime": "2024-03-16",
"updateDateTime": "2024-10-10",
"updateDateTime": "2024-11-01",
"products": [
"SharePoint"
],
Expand Down
4 changes: 2 additions & 2 deletions samples/react-modern-carousel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions samples/react-modern-carousel/src/components/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Carousel = (): JSX.Element => {
setSelectedUser(awardList[realIndex])
}

let moduleType =
const moduleType =
contextInfo.cardType === "coverEffect" ? EffectCoverflow : EffectCards

console.log("module type", moduleType)
Expand All @@ -65,8 +65,8 @@ export const Carousel = (): JSX.Element => {
<Content user={selectedUser} />
</aside>
<aside className={styles.carouselWrapper}>
<div className={styles.fade_left}></div>
<div className={styles.fade_right}></div>
<div className={styles.fade_left} />
<div className={styles.fade_right} />
<Swiper
effect={
contextInfo.cardType === "coverEffect" ? "coverflow" : "cards"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ import * as ReactDom from "react-dom"
import { Version } from "@microsoft/sp-core-library"
import {
IPropertyPaneConfiguration,
PropertyPaneButtonType,
PropertyPaneChoiceGroup,
PropertyPaneHorizontalRule,
PropertyPaneSlider,
PropertyPaneTextField,
PropertyPaneToggle,
} from "@microsoft/sp-property-pane"
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base"
import { IReadonlyTheme } from "@microsoft/sp-component-base"
Expand Down

0 comments on commit 3ef276e

Please sign in to comment.