Skip to content

Commit

Permalink
Update migration-from-styled-components.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
gwildu authored Feb 6, 2025
1 parent 90e6095 commit 44dddc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ If you use dynamic css properties, you need to use the `css` tag to define the c

```tsx title="component.tsx"
import styled, { css } from 'styled-components'; // [!code --]
import { styled } from 'next-yak'; // [!code ++]
import { css, styled } from 'next-yak'; // [!code ++]

const Button = styled.button<{ $primary: boolean }>`
background: #BF4F74;
Expand Down

0 comments on commit 44dddc9

Please sign in to comment.