mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
3f8f72bf9b
Follow up for https://github.com/vercel/next.js/pull/40415 Remove internal next client api determination, fully relying on `'client'` directive. Change `.client.js` extension to `.js ` in tests, remove legacy / unused test files
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
// CSS modules can only be imported inside client components for now.
|
|
import RedText from '../../components/red/index'
|
|
|
|
export default function CSSM() {
|
|
return (
|
|
<RedText id="red-text">
|
|
<h1>This should be in red</h1>
|
|
</RedText>
|
|
)
|
|
}
|