mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-20 12:09:36 +02:00
12 lines
242 B
TypeScript
12 lines
242 B
TypeScript
|
import { Theme } from '../../interfaces/Theme';
|
||
|
|
||
|
const ThemePreview = (theme: Theme): JSX.Element => {
|
||
|
return (
|
||
|
<div>
|
||
|
<p>Theme: {theme.name}</p>
|
||
|
<p>{theme.colors.background}</p>
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default ThemePreview;
|