mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
V2 (#1)
This commit is contained in:
20
packages/lib/src/components/base/CellHeader.js
Normal file
20
packages/lib/src/components/base/CellHeader.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import styled from 'styled-components/native';
|
||||
import {
|
||||
Emphasis,
|
||||
} from './text';
|
||||
|
||||
const Wrapper = styled.View`
|
||||
flex-direction: row;
|
||||
padding: 10px;
|
||||
`;
|
||||
|
||||
const Row = ({
|
||||
children,
|
||||
}) => (
|
||||
<Wrapper>
|
||||
<Emphasis>{children}:</Emphasis>
|
||||
</Wrapper>
|
||||
)
|
||||
|
||||
export default Row;
|
||||
Reference in New Issue
Block a user