mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
470 B
JavaScript
23 lines
470 B
JavaScript
import React from 'react'
|
|
import { Controls, ControlsBW } from './svg/Controls'
|
|
|
|
export default ({ language }) => (
|
|
<div className="language">
|
|
{language.name}
|
|
<style jsx>
|
|
{`
|
|
.language {
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 7px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
font-size: 12px;
|
|
padding: 5px;
|
|
border-radius: 3px;
|
|
z-index: 1;
|
|
}
|
|
`}
|
|
</style>
|
|
</div>
|
|
)
|