p5.js-web-editor/client/components/mobile/Footer.jsx

16 lines
338 B
React
Raw Normal View History

import React from 'react';
import styled from 'styled-components';
2020-07-20 23:51:42 +02:00
import { prop } from '../../theme';
2020-07-01 20:52:23 +02:00
const background = prop('MobilePanel.default.background');
const textColor = prop('primaryTextColor');
2020-07-20 23:51:42 +02:00
export default styled.div`
position: fixed;
width: 100%;
bottom: 0;
background: ${background};
color: ${textColor};
`;