dc53a74459
* style: enforce ordering of imports * style: sort imports in loot-core * style: sort imports in desktop-client * style: sort imports in loot-design * style: manual fixes
17 lines
379 B
JavaScript
17 lines
379 B
JavaScript
import React from 'react';
|
|
|
|
import { css } from 'glamor';
|
|
|
|
function Text(props) {
|
|
// Pull `numberOfLines` off since it's only used in React Native
|
|
const { numberOfLines, style, innerRef, ...restProps } = props;
|
|
return (
|
|
<span
|
|
{...restProps}
|
|
ref={innerRef}
|
|
className={`${props.className || ''} ${css(props.style)}`}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default Text;
|