Skip to content

Instantly share code, notes, and snippets.

@adamwhitlock1
Created May 28, 2019 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamwhitlock1/da08a91cbfbe35725a18a28380978335 to your computer and use it in GitHub Desktop.
Save adamwhitlock1/da08a91cbfbe35725a18a28380978335 to your computer and use it in GitHub Desktop.
vue-styled-components-styled-button
import styled from "vue-styled-components";
const buttonProps = { color: String, br: String, pad: String, bgc: String };
export const StyledButton = styled("button", buttonProps)`
color: ${props => props.color};
border-radius: ${props => props.br};
padding: ${props => props.pad};
background-color: ${props => props.bgc};
letter-spacing: 1px;
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment