react-form-stepper icon indicating copy to clipboard operation
react-form-stepper copied to clipboard

Not able to put icons instead of step numbers

Open filipzdjelar1 opened this issue 3 years ago • 1 comments

filipzdjelar1 avatar Oct 24 '22 12:10 filipzdjelar1

If you create your steps like:

const steps = [
		{ label: 'Step 1' },
		{ label: 'Step 2' },
		{ label: 'Step 3' },
		{ label: 'Step 4' },
		{ label: 'Step 5' },
		{ label: 'Step 6' },
		{ label: 'Finished', completedBgColor: 'green', children: <Flex alignItems={'center'} height={'100%'}><Icon boxSize={7} alignItems={'center'} color={'white'} as={CiTrophy} /></Flex> }]

then the icon works.

dglassick avatar Apr 19 '23 02:04 dglassick