Skip to content

Commit

Permalink
fix: spelling for SkipLinksItemProps
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Dec 4, 2020
1 parent 4b7b684 commit 2c11e3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ui/app/src/App/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @jsx jsx */
import { FC, ReactNode, Fragment } from 'react';
import { jsx, Box } from 'theme-ui';
import { SkipLinks, SkiLinksItemProps } from '@component-controls/components';
import { SkipLinks, SkipLinksItemProps } from '@component-controls/components';
import {
useStore,
useCurrentDocument,
Expand All @@ -25,7 +25,7 @@ export const App: FC<AppProps> = ({ children, Helmet }) => {
const doc = useCurrentDocument();
const config = useConfig();
const { toolbar } = config;
const items: SkiLinksItemProps[] = [
const items: SkipLinksItemProps[] = [
{
target: 'content',
text: 'skip to main content',
Expand Down
6 changes: 3 additions & 3 deletions ui/components/src/SkipLinks/SkipLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export interface SkiLinksItemOwnProps {
text: string;
}

export type SkiLinksItemProps = SkiLinksItemOwnProps & LinkProps;
export type SkipLinksItemProps = SkiLinksItemOwnProps & LinkProps;

/**
* single skip link anchor item
*/
export const SkiLinksItem: FC<SkiLinksItemProps & LinkProps> = ({
export const SkiLinksItem: FC<SkipLinksItemProps & LinkProps> = ({
target,
text,
...rest
Expand All @@ -29,7 +29,7 @@ export const SkiLinksItem: FC<SkiLinksItemProps & LinkProps> = ({
);

export interface SkipLinksProps {
items: SkiLinksItemProps[];
items: SkipLinksItemProps[];
}

/**
Expand Down

0 comments on commit 2c11e3a

Please sign in to comment.