Skip to content

docs(Text): Remove unused prop theme #494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions packages/main/src/components/Text/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ import { usePassThroughHtmlProps } from '@ui5/webcomponents-react-base/lib/usePa
import React, { CSSProperties, FC, forwardRef, ReactNode, Ref } from 'react';
import { createComponentStyles } from '@ui5/webcomponents-react-base/lib/createComponentStyles';
import { CommonProps } from '../../interfaces/CommonProps';
import { ThemeOptions } from '../../interfaces/ThemeOptions';
import { TextStyles } from './Text.jss';

export interface TextProps extends CommonProps {
/**
* Pass the text as direct child of Text
*/
children: string | JSX.Element | ReactNode;
/**
* An optional theme override to be passed. Will win against the theme provided by the ThemeProvider
*/
theme?: ThemeOptions;

renderWhitespace?: boolean;

Expand Down
3 changes: 0 additions & 3 deletions packages/main/src/interfaces/ThemeOptions.ts

This file was deleted.