// Copyright 2019-2020 @polkadot/extension-ui authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ThemeProps } from '../types'; import React from 'react'; import styled from 'styled-components'; interface Props { children: React.ReactNode; className?: string; label: string; } function Label ({ children, className, label }: Props): React.ReactElement { return (
{children}
); } export default styled(Label)(({ theme }: ThemeProps) => ` color: ${theme.textColor}; label { font-size: 10px; line-height: 14px; letter-spacing: 0.04em; font-weight: 800; opacity: 0.65; margin-bottom: 12px; text-transform: uppercase; } `);