Skip to content

Commit 8edc0fd

Browse files
committed
chore: fix type and test name
1 parent 5378ccb commit 8edc0fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Parallax/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('given the <Parallax> component', () => {
5757
});
5858

5959
describe('when given html attributes', () => {
60-
it('then it add them to the returned div', () => {
60+
it('then it adds them to the returned div', () => {
6161
const { container, getByTestId } = render(
6262
<ParallaxProvider>
6363
<Parallax

src/components/Parallax/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { ParallaxElementConfig } from 'parallax-controller';
22

33
export interface ParallaxProps
44
extends ParallaxElementConfig,
5-
Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {}
5+
Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {}

0 commit comments

Comments
 (0)