mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
|
|
export default function SetupSteps({ step, children }) {
|
|
const activeStep = React.Children.toArray(children).filter(
|
|
(child) => child.props.id === step.id,
|
|
);
|
|
return activeStep;
|
|
}
|