Skip to content

Allow users to customize styles#25

Merged
dwwoelfel merged 1 commit intomasterfrom
custom-styling
Oct 3, 2019
Merged

Allow users to customize styles#25
dwwoelfel merged 1 commit intomasterfrom
custom-styling

Conversation

@dwwoelfel
Copy link
Copy Markdown
Collaborator

Allows the user to provide props to customize styles.

Users can provide a colors prop with a set of colors that match the colors provided by GraphiQL's app.css.

Users can provide custom components for the arrows and checkboxes.

Users can customize the styling of the buttons.

The README covers usage in more detail.

@dwwoelfel dwwoelfel requested a review from sgrove October 3, 2019 19:56
Comment thread src/Explorer.js
}
});

if (!leafFieldNames.length) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Contributor

@sgrove sgrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you for doing this!

@dwwoelfel dwwoelfel merged commit 83f6b75 into master Oct 3, 2019
FluorescentHallucinogen added a commit to FluorescentHallucinogen/graphql-engine that referenced this pull request Oct 11, 2019
E.g. v0.4.5 has a very useful feature: allows users to customize styles (OneGraph/graphiql-explorer#25).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants