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 21:51:42 +00:00
import { prop } from '../../theme';
2020-07-01 18:52:23 +00:00
const background = prop('MobilePanel.default.background');
const textColor = prop('primaryTextColor');
2020-07-20 21:51:42 +00:00
export default styled.div`
position: fixed;
width: 100%;
bottom: 0;
background: ${background};
color: ${textColor};
`;