Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
383 Bytes
// @flow
import * as React from "react";
type Props = {|
+children?: React.Node,
+active?: boolean,
|};
function TimelineItemTitle({ children, active }: Props): React.Node {
if (children) {
return active ? <strong>{children}</strong> : children;
} else {
return null;
}
}
TimelineItemTitle.displayName = "Timeline.ItemTitle";
export default TimelineItemTitle;