refactor: format and lint codebase (#971)
This commit is contained in:
5
app/assets/javascripts/Components/TitleBar/Title.tsx
Normal file
5
app/assets/javascripts/Components/TitleBar/Title.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { FunctionComponent } from 'preact'
|
||||
|
||||
export const Title: FunctionComponent<{ className?: string }> = ({ children, className }) => {
|
||||
return <div className={`sn-title ${className ?? ''}`}>{children}</div>
|
||||
}
|
||||
5
app/assets/javascripts/Components/TitleBar/TitleBar.tsx
Normal file
5
app/assets/javascripts/Components/TitleBar/TitleBar.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { FunctionComponent } from 'preact'
|
||||
|
||||
export const TitleBar: FunctionComponent<{ className?: string }> = ({ children, className }) => (
|
||||
<div className={`sn-titlebar ${className ?? ''}`}>{children}</div>
|
||||
)
|
||||
Reference in New Issue
Block a user