chore: use monorepo organization
This commit is contained in:
parent
deaf7d6ecc
commit
a687827f7e
1099 changed files with 8184 additions and 11535 deletions
15
packages/admin-ui/src/components/Subtitle.jsx
Normal file
15
packages/admin-ui/src/components/Subtitle.jsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import classnames from 'classnames'
|
||||
import React, { memo } from 'react'
|
||||
|
||||
import { TL1 } from './typography'
|
||||
|
||||
const Subtitle = memo(({ children, className, extraMarginTop }) => {
|
||||
const classNames = {
|
||||
'text-comet my-4': true,
|
||||
'mt-18': extraMarginTop
|
||||
}
|
||||
|
||||
return <TL1 className={classnames(classNames, className)}>{children}</TL1>
|
||||
})
|
||||
|
||||
export default Subtitle
|
||||
Loading…
Add table
Add a link
Reference in a new issue