apple2js/js/components/Inset.tsx

13 lines
274 B
TypeScript
Raw Normal View History

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