How to use the @dhis2/ui-core.colors.black function in @dhis2/ui-core

To help you get started, we’ve selected a few @dhis2/ui-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dhis2 / dashboards-app / src / components / TitleBar / TitleBar.js View on Github external
import React from 'react';
import PropTypes from 'prop-types';

import { colors } from '@dhis2/ui-core';
import EditTitleBar from './EditTitleBar';
import ViewTitleBar from './ViewTitleBar';

import './TitleBar.css';

const style = {
    title: {
        position: 'relative',
        fontSize: 21,
        fontWeight: 500,
        color: colors.black,
        minWidth: 50,
    },
    description: {
        fontSize: 14,
        color: colors.grey800,
    },
};

const TitleBar = ({ edit }) => {
    return (
        <div style="{{"></div>