Skip to content

Commit

Permalink
styles
Browse files Browse the repository at this point in the history
Import styles, let styles.person fetch.
  • Loading branch information
skjulestad committed Jan 28, 2025
1 parent b223384 commit fe5d440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/react4xp/components/Person.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//import type { PersonProps } from '/types/PersonProps';
import React from 'react'
//import * as React from 'react';
import * as styles from './Person.module.css';
import styles from './Person.module.css';

export const Person = (props) => {
const {displayName, photo} = props as any;

return (
< >
<div /*className={styles.person}*/>
<div className={styles.person}>
<h2>{displayName}</h2>
{
photo ? (
Expand Down

0 comments on commit fe5d440

Please sign in to comment.