Skip to content

Commit

Permalink
chore: adds internal tag on jsdocs for getSlotsNext (#28348)
Browse files Browse the repository at this point in the history
* chore: adds internal tag on jsdoce for getSlotsNext

* fix type on change file
  • Loading branch information
bsunderhus committed Jun 28, 2023
1 parent 8c7436d commit cbfa9a3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: adds internal tag on jsdoc for getSlotsNext",
"packageName": "@fluentui/react-utilities",
"email": "bernardo.sunderhus@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function getSlots<R extends SlotPropsRecord>(state: ComponentState<R>): {
slotProps: ObjectSlotProps<R>;
};

// @public
// @internal
export function getSlotsNext<R extends SlotPropsRecord>(state: ComponentState<R>): {
slots: Slots<R>;
slotProps: ObjectSlotProps<R>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import { ObjectSlotProps, Slots } from './getSlots';

/**
* Similar to `getSlots`, main difference is that it's compatible with new custom jsx pragma
*
* @internal
* This is an internal temporary method, this method will cease to exist eventually!
*
* * ❗️❗️ **DO NOT USE IT EXTERNALLY** ❗️❗️
*/
export function getSlotsNext<R extends SlotPropsRecord>(
state: ComponentState<R>,
Expand Down

0 comments on commit cbfa9a3

Please sign in to comment.