1
0
Fork 0

acesable?

This commit is contained in:
ChaotiCryptidz 2022-06-02 15:57:09 +01:00
parent 01c8bf372c
commit 99a458cfdb
No known key found for this signature in database

View file

@ -8,7 +8,7 @@ export const FoodItemsContainer = (props: {
return ( return (
<div> <div>
<h3>{props.title}</h3> <h3>{props.title}</h3>
<div class="list-group"> <div class="list-group" role="list">
{props.children} {props.children}
</div> </div>
</div> </div>
@ -49,7 +49,7 @@ export class FoodItem extends Component<FoodItemProps> {
render() { render() {
return ( return (
<HideIfFoodExcluded {...this.props}> <HideIfFoodExcluded {...this.props}>
<li class="list-group-item">{this.props.title}</li> <p class="list-group-item h5" role="listitem">{this.props.title}</p>
</HideIfFoodExcluded> </HideIfFoodExcluded>
) )
} }
@ -59,8 +59,8 @@ export class AdvancedFoodItem extends Component<FoodItemProps & { extra: string
render() { render() {
return ( return (
<HideIfFoodExcluded {...this.props}> <HideIfFoodExcluded {...this.props}>
<div class="list-group-item"> <div class="list-group-item" role="listitem">
<h5 class="mb-1">{this.props.title}</h5> <p class="mb-1 h5">{this.props.title}</p>
<p class="mb-1">{this.props.extra}</p> <p class="mb-1">{this.props.extra}</p>
</div> </div>
</HideIfFoodExcluded> </HideIfFoodExcluded>