Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contest] Make your skin #43

Open
marcocesarato opened this issue Feb 19, 2021 · 0 comments
Open

[Contest] Make your skin #43

marcocesarato opened this issue Feb 19, 2021 · 0 comments
Labels
contest Feature contest

Comments

@marcocesarato
Copy link
Owner

marcocesarato commented Feb 19, 2021

Hello everybody,
from version 1.7.0 it's now possible unleash your creativity having predefined skins for your input spinner 馃帀.
Create your skin and submit it to the community by attaching the code, a sample screenshot and the name for your skin.

The best ones will be added to the main library 馃槂.

This is a simple example of how to create a skin (clean skin already available):

Example

Skin Clean (clean)

Code

import React from "react";
export const getProps = (props) => {
	const backgroundFallback = props.background ? props.background : "#FFF";
	return {
		shadow: props.shadow ? props.shadow : true,
		color: backgroundFallback,
		colorAsBackground: true,
	};
};

Screenshot

skins

@marcocesarato marcocesarato changed the title Make your skin [Contest] Make your skin Feb 19, 2021
@marcocesarato marcocesarato pinned this issue Feb 19, 2021
@marcocesarato marcocesarato added the contest Feature contest label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contest Feature contest
Projects
None yet
Development

No branches or pull requests

1 participant