mirror of
https://github.com/SomboChea/ui
synced 2026-01-17 16:45:49 +07:00
fix: typography Component - Introduced ForwardRef (#179)
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
82d7107de7
commit
a8deeb9b9d
@@ -4,7 +4,7 @@ import Add from '@material-ui/icons/Add';
|
||||
import { DetailContext } from '../../pages/Version';
|
||||
import { AvatarTooltip } from '../AvatarTooltip';
|
||||
|
||||
import { Details, Heading, Content, Fab } from './styles';
|
||||
import { Details, StyledText, Content, Fab } from './styles';
|
||||
|
||||
export type DevelopersType = 'contributors' | 'maintainers';
|
||||
|
||||
@@ -34,7 +34,7 @@ const Developers: FC<Props> = ({ type, visibleMax }) => {
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<Heading variant={'subtitle1'}>{type}</Heading>
|
||||
<StyledText variant={'subtitle1'}>{type}</StyledText>
|
||||
<Content>
|
||||
{listVisibleDevelopers.map(developer => (
|
||||
<Details key={developer.email}>{renderDeveloperDetails(developer, packageMeta)}</Details>
|
||||
|
||||
Reference in New Issue
Block a user