mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
303838f63d
* Use CSS modules * Fix tests * Feedback
15 lines
327 B
TypeScript
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>
|
|
);
|