New source found from dndbeyond.com
This commit is contained in:
+2
-2
@@ -7,13 +7,13 @@ interface Props {
|
||||
|
||||
export default function InlineSeparatedNodes({ nodes, sep = ", " }: Props) {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
{nodes.map((node, idx) => (
|
||||
<React.Fragment key={idx}>
|
||||
{node}
|
||||
{idx < nodes.length - 1 && sep}
|
||||
</React.Fragment>
|
||||
))}
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user