Skip to content

Commit

Permalink
Update test to use className
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Aug 25, 2021
1 parent cfd3354 commit 955679a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from 'react'
import Image from 'next/image'
import img from '../public/test.jpg'
import style from '../style.module.css'

const Page = () => {
return (
<div style={{ display: 'flex' }}>
<div className={style.displayFlex}>
<Image id="img" layout="responsive" src={img} />
</div>
)
Expand Down
3 changes: 3 additions & 0 deletions test/integration/image-component/default/style.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.displayFlex {
display: flex;
}

0 comments on commit 955679a

Please sign in to comment.