mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	Rename compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
		
							parent
							
								
									351d15917e
								
							
						
					
					
						commit
						de2946bae3
					
				@ -12,7 +12,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
 | 
			
		||||
import { HeaderModalTitle } from 'strapi-helper-plugin';
 | 
			
		||||
import ModalSection from '../ModalSection';
 | 
			
		||||
import Text from '../Text';
 | 
			
		||||
import BackHeader from './BackButton';
 | 
			
		||||
import BackButton from './BackButton';
 | 
			
		||||
import Wrapper from './Wrapper';
 | 
			
		||||
 | 
			
		||||
const ModalHeader = ({ goBack, headers, withBackButton }) => {
 | 
			
		||||
@ -20,7 +20,7 @@ const ModalHeader = ({ goBack, headers, withBackButton }) => {
 | 
			
		||||
    <Wrapper>
 | 
			
		||||
      <ModalSection>
 | 
			
		||||
        <HeaderModalTitle>
 | 
			
		||||
          {withBackButton && <BackHeader onClick={goBack} type="button" />}
 | 
			
		||||
          {withBackButton && <BackButton onClick={goBack} type="button" />}
 | 
			
		||||
          {headers.map(({ key, element }, index) => {
 | 
			
		||||
            const shouldDisplayChevron = index < headers.length - 1;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user