Skip to content

Commit 6eb10b3

Browse files
authored
fix: prevent duplicate class-names on text-action
1 parent 56fc9a0 commit 6eb10b3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/fast-components-react-msft/src/text-action/text-action.props.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ export interface TextActionHandledProps
6666
* Overall disabled attribute that controls both the input and button disabled states
6767
*/
6868
disabled?: boolean;
69+
70+
/**
71+
* The class name applied to the root element
72+
*/
73+
className?: string;
6974
}
7075

7176
export type TextActionProps = TextActionHandledProps & TextActionUnhandledProps;

packages/fast-components-react-msft/src/text-action/text-action.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class TextAction extends Foundation<
3838
beforeGlyph: void 0,
3939
button: void 0,
4040
buttonPosition: void 0,
41+
className: void 0,
4142
managedClasses: void 0,
4243
};
4344

0 commit comments

Comments
 (0)