mirror of
https://github.com/hanzoai/cd-ui.git
synced 2026-10-30 20:42:45 +00:00
fix: Row and box styled with common CSS class `row` and `box` , changed to be more specific (#109) Signed-off-by: Remington Breeze <[email protected]>
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
import * as React from 'react';
|
|
|
|
import {ThemeDiv} from '../theme-div/theme-div';
|
|
|
|
import './box.scss';
|
|
|
|
export const Box = (props: {children: React.ReactNode}) => {
|
|
return <ThemeDiv className='argo-box'>{props.children}</ThemeDiv>;
|
|
};
|
|
|
|
export const BoxTitle = (props: {children: React.ReactNode}) => {
|
|
return <ThemeDiv className='argo-box__title'>{props.children}</ThemeDiv>;
|
|
};
|