Removes all unused imports. Temporarily swapped in https://github.com/sweepline/eslint-plugin-unused-imports to differentiate between unused imports and unused vars. The default rule does not differentiate.
12 lines
241 B
TypeScript
12 lines
241 B
TypeScript
'use client'
|
|
|
|
import React from 'react'
|
|
|
|
import { useElement } from '../../providers/ElementProvider.js'
|
|
|
|
export const Heading4Element = () => {
|
|
const { attributes, children } = useElement()
|
|
|
|
return <h4 {...attributes}>{children}</h4>
|
|
}
|