mirror of https://github.com/sgoudham/carbon.git
Clean up (#481) (patch)
* clean up things * introduce toggle fn * remove constructor from Collapse (ignore) * prettier (ignore) * make Collapse a PureComponent (ignore) * give ExportSizeSelect a display name (ignore) * give ThemeSelect a display name (ignore) * Toggle: displayName, PureComponent, remove constructor (ignore) * Meta and Slider display names (ignore) * remove ThemeSelect constructor (ignore) * fix lint-staged, prettiermain
parent
584a866bc1
commit
6c9a09e522
@ -1,21 +0,0 @@
|
||||
import React from 'react'
|
||||
|
||||
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>
|
||||
)
|
Loading…
Reference in New Issue