kopia lustrzana https://github.com/Tldraw/Tldraw
15 wiersze
371 B
TypeScript
15 wiersze
371 B
TypeScript
import classNames from 'classnames'
|
|
import * as React from 'react'
|
|
|
|
/** @public */
|
|
export type HTMLContainerProps = React.HTMLAttributes<HTMLDivElement>
|
|
|
|
/** @public */
|
|
export function HTMLContainer({ children, className = '', ...rest }: HTMLContainerProps) {
|
|
return (
|
|
<div {...rest} className={classNames('tl-html-container', className)}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|