v7.0.0-beta.1 release
This commit is contained in:
commit
6595fd0eb5
3967 files changed
+1875383
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
|
||||
export interface SectionProps extends React.HTMLAttributes<HTMLElement> {}
|
||||
|
||||
/**
|
||||
* 기본 section 컴포넌트
|
||||
*/
|
||||
export const Section: React.FC<SectionProps> = ({
|
||||
children,
|
||||
className = '',
|
||||
...props
|
||||
}) => {
|
||||
return (
|
||||
<section
|
||||
className={className}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</section>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user