
Make a website https://golangci-lint.run for golangci-lint documentation. The website is backed by Gatsby static site generator and deployed into Netlify.
17 lines
283 B
JavaScript
17 lines
283 B
JavaScript
/** @jsx jsx */
|
|
import { css, jsx } from "@emotion/core";
|
|
|
|
export const IconContainer = ({ color, children }) => (
|
|
<span
|
|
css={css`
|
|
svg {
|
|
color: ${color};
|
|
text-align: center;
|
|
vertical-align: -0.125em;
|
|
}
|
|
`}
|
|
>
|
|
{children}
|
|
</span>
|
|
);
|