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.
20 lines
418 B
JavaScript
20 lines
418 B
JavaScript
import React from 'react';
|
|
import { Controls, ControlsBW } from './svg/Controls';
|
|
|
|
export default ({ theme }) => (
|
|
<div className="window-controls">
|
|
{theme === 'bw' ? <ControlsBW /> : <Controls />}
|
|
<style jsx>
|
|
{`
|
|
div {
|
|
margin-top: -24px;
|
|
position: relative;
|
|
top: 34px;
|
|
margin-left: 18px;
|
|
z-index: 1;
|
|
}
|
|
`}
|
|
</style>
|
|
</div>
|
|
);
|