mirror of
https://github.com/SomboChea/ui
synced 2026-01-17 00:25:50 +07:00
fix: improved typing (#174)
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
68b7171de4
commit
e0642a9d0d
@@ -58,7 +58,7 @@ class Engine extends Component {
|
||||
return <Grid container={true}>{items}</Grid>;
|
||||
};
|
||||
|
||||
private renderListItems = (heading, text) => {
|
||||
private renderListItems = (heading: string, text: string) => {
|
||||
return (
|
||||
<List subheader={<Heading variant={'subtitle1'}>{text.split('-').join(' ')}</Heading>}>
|
||||
<EngineListItem button={true}>
|
||||
|
||||
Reference in New Issue
Block a user