Skip to content

Commit

Permalink
Remove tootip position props
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Aug 15, 2022
1 parent 81b473b commit 3126a88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/tooltip/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe( 'Tooltip', () => {
describe( '#render()', () => {
it( 'should render children (abort) if multiple children passed', () => {
render(
<Tooltip position="bottom right" text="Help text">
<Tooltip text="Help text">
<button>Button 1</button>
<button>Button 2</button>
</Tooltip>
Expand All @@ -30,7 +30,7 @@ describe( 'Tooltip', () => {

it( 'should render children', () => {
render(
<Tooltip position="bottom right" text="Help text">
<Tooltip text="Help text">
<button>Hover Me!</button>
</Tooltip>
);
Expand All @@ -42,7 +42,7 @@ describe( 'Tooltip', () => {

it( 'should render children with additional popover when over', () => {
render(
<Tooltip position="bottom right" text="Help text">
<Tooltip text="Help text">
<button>Hover Me!</button>
</Tooltip>
);
Expand Down

0 comments on commit 3126a88

Please sign in to comment.