Skip to content

Commit

Permalink
fix: Url for component documentation (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
leotoll authored May 8, 2020
1 parent d01347c commit d960644
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/carousel/Carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function useSelected(props) {
/**
* A grouped display of elements that shows one element at a time, and changes to peer elements by
* swiping to the left or right, or by clicking arrows on the sides of the component. Generally used
* as a non-Amp option for the [`CarouselComponent`](/apiReference/carousel%f2MediaCarousel#prop-CarouselComponent)
* prop within a [`MediaCarousel`](/apiReference/carousel%f2MediaCarousel).
* as a non-Amp option for the [`CarouselComponent`](/apiReference/carousel/MediaCarousel#prop-CarouselComponent)
* prop within a [`MediaCarousel`](/apiReference/carousel/MediaCarousel).
*/
const Carousel = React.forwardRef((props, ref) => {
let {
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/CarouselArrows.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const styles = theme => ({
const useStyles = makeStyles(styles, { name: 'RSFCarouselArrows' })

/**
* Arrows that are overlaid onto a [`Carousel`](/apiReference/carousel%f2Carousel) that will change
* Arrows that are overlaid onto a [`Carousel`](/apiReference/carousel/Carousel) that will change
* the slide shown when clicked.
*/
export default function CarouselArrows({ className, classes, selected, count, setSelected }) {
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/CarouselDots.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const styles = theme => ({
const useStyles = makeStyles(styles, { name: 'RSFCarouselDots' })

/**
* An overlay shown at the bottom of a [`Carousel`](/apiReference/carousel%f2Carousel) that shows a
* An overlay shown at the bottom of a [`Carousel`](/apiReference/carousel/Carousel) that shows a
* sequence of dots representing the slides in the Carousel.
*/
function CarouselDots({ selected, count, classes }) {
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/CarouselThumbnails.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const styles = theme => ({
const useStyles = makeStyles(styles, { name: 'RSFCarouselThumbnails' })

/**
* A set of thumbnails to show below a [`Carousel`](/apiReference/carousel%f2Carousel). Thumbnails can
* A set of thumbnails to show below a [`Carousel`](/apiReference/carousel/Carousel). Thumbnails can
* be clicked to switch to the given slide. Internally, `CarouselThumbnails` uses MaterialUI's
* [`Tabs`](https://material-ui.com/api/tabs) component to indicate which slide is selected
*/
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/Lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const useStyles = makeStyles(styles, { name: 'RSFLightbox' })

/**
* A modal that opens to give a full-screen view of the elements within a
* [`Carousel`](/apiReference/carousel%f2Carousel).
* [`Carousel`](/apiReference/carousel/Carousel).
*/
function Lightbox({ classes, children, onClose, open, TransitionComponent }) {
classes = useStyles({ classes })
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/MagnifyHint.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const styles = theme => ({
const useStyles = makeStyles(styles, { name: 'RSFMagnifyHint' })

/**
* An element overlaid on a [`Carousel`](/apiReference/carousel%f2Carousel) that displays a tip for a
* An element overlaid on a [`Carousel`](/apiReference/carousel/Carousel) that displays a tip for a
* user to hover/click the Carousel in order to zoom in.
*/
export default function MagnifyHint({
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/Media.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const useStyles = makeStyles(theme => ({

/**
* An element that determines the proper tag to use for a media node within a
* [`Carousel`](/apiReference/carousel%f2Carousel).
* [`Carousel`](/apiReference/carousel/Carousel).
*/
export default function Media({
magnifyProps,
Expand Down

0 comments on commit d960644

Please sign in to comment.