Skip to content

Commit

Permalink
docs for migration-from-styled-components (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelimahorn authored Feb 6, 2025
1 parent d960e1c commit 90e6095
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For static mixins, you can just change the import and you're done.

```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 mixin = css`
color: green;
Expand Down

0 comments on commit 90e6095

Please sign in to comment.