Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Replacing Loop div element with Fragment #65

@hasparus

Description

@hasparus

const defaultStyles = {
height: '100%',
width: '100%',
};
const styles = { ...defaultStyles, ...this.props.style };
return (
<div style={styles}>
{this.props.children}
</div>
);
}

Since Loop doesn't say anything about rendering, maybe we could change this div to React.Fragment?
I'm happy to make a PR if it's okay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions