@instructure/ui-themeable

  • Version 7.5.1
  • Published
  • 289 kB
  • 10 dependencies
  • MIT license

Install

npm i @instructure/ui-themeable
yarn add @instructure/ui-themeable
pnpm add @instructure/ui-themeable

Overview

A UI component library made by Instructure Inc.

Index

Classes

class ApplyTheme

class ApplyTheme extends React.Component<ApplyThemeProps, any> {}

    method render

    render: () => JSX.Element;

      Interfaces

      interface ApplyThemeProps

      interface ApplyThemeProps {}

        property children

        children?: React.ReactNode;
        • accepts only one child (children must be wrapped in a single component/element)

        property immutable

        immutable?: boolean;
        • Prevent overriding this theme via a child ApplyTheme component or theme props

        property theme

        theme?: Object;
        • set theme variables to override the defaults

        Package Files (1)

        Dependencies (10)

        Dev Dependencies (3)

        Peer Dependencies (1)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@instructure/ui-themeable.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@instructure/ui-themeable)
        • HTML
          <a href="https://www.jsdocs.io/package/@instructure/ui-themeable"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>