apple2js/js/components/Inset.tsx
Will Scullin 303838f63d
Use CSS modules (#123)
* Use CSS modules

* Fix tests

* Feedback
2022-06-03 15:30:39 -07:00

15 lines
327 B
TypeScript

import { h, ComponentChildren } from 'preact';
import styles from './css/Inset.module.css';
/**
* Convenience component for a nice beveled border.
*
* @returns Inset component
*/
export const Inset = ({ children }: { children: ComponentChildren }) => (
<div className={styles.inset}>
{children}
</div>
);