Skip to content

Commit

Permalink
Get rid of UNSTABLE prefix on tailwind docs build (#7275)
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDanLu authored Oct 29, 2024
1 parent 60a1842 commit f598966
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/extractStarter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -484,16 +484,6 @@ function generateWrapper(name) {
generic = '<T>';
}

if (name === 'Disclosure' || name === 'DisclosureGroup' || name === 'DisclosurePanel') {
return `import {UNSTABLE_${name} as RAC${name}, ${typeName}} from 'react-aria-components';
import './${name}.css';
export function ${name}${typeParams}(props: ${typeName}${generic}) {
return <RAC${name} {...props} />;
}
`
}

return `import {${name} as RAC${name}, ${typeName}} from 'react-aria-components';
import './${name}.css';
Expand Down

1 comment on commit f598966

@rspbot
Copy link

@rspbot rspbot commented on f598966 Oct 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.