Skip to content

Commit 98e1a7f

Browse files
committed
docs(Text): Remove unused prop theme
Closes #490
1 parent caab6a5 commit 98e1a7f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/main/src/components/Text/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@ import { usePassThroughHtmlProps } from '@ui5/webcomponents-react-base/lib/usePa
33
import React, { CSSProperties, FC, forwardRef, ReactNode, Ref } from 'react';
44
import { createComponentStyles } from '@ui5/webcomponents-react-base/lib/createComponentStyles';
55
import { CommonProps } from '../../interfaces/CommonProps';
6-
import { ThemeOptions } from '../../interfaces/ThemeOptions';
76
import { TextStyles } from './Text.jss';
87

98
export interface TextProps extends CommonProps {
109
/**
1110
* Pass the text as direct child of Text
1211
*/
1312
children: string | JSX.Element | ReactNode;
14-
/**
15-
* An optional theme override to be passed. Will win against the theme provided by the ThemeProvider
16-
*/
17-
theme?: ThemeOptions;
1813

1914
renderWhitespace?: boolean;
2015

packages/main/src/interfaces/ThemeOptions.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)