Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
yue4u committed May 29, 2024
1 parent 87ea4cc commit 3733be4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://github.com/fernandopasik/react-children-utilities/blob/971d8a0324e6183734d8d1af9a65dbad18ab3d00/src/lib/onlyText.ts

import { Children, isValidElement, ReactElement, ReactNode } from 'react';
import { Children, isValidElement, ReactElement, ReactNode } from 'react'

const hasChildren = (
element: ReactNode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode, type JSX } from 'react';
import { ReactNode, type JSX } from 'react'
import styled from 'styled-components'

export type CustomJSXElement =
Expand Down
2 changes: 1 addition & 1 deletion packages/styled/src/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled, { ThemeProvider } from 'styled-components'
import { Example } from './index.story'
import { MyTheme, myTheme } from './storyHelper'

import type { JSX } from "react";
import type { JSX } from 'react'

function render(children: JSX.Element) {
return renderer
Expand Down

0 comments on commit 3733be4

Please sign in to comment.