Skip to content

Commit

Permalink
Update API
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Oct 27, 2024
1 parent 1bee510 commit f3aa44c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,30 @@ type API = {
}

local api: API = {
-- Validation
isStorybookModule = require("./isStoryModule"),
isStoryModule = require("./isStoryModule"),

-- Discovery
findStorybookModules = require("./findStorybookModules"),
findStoryModulesForStorybook = require("./findStoryModulesForStorybook"),

-- Module loading
loadStory = require("./loadStoryModule"),
loadStoryModule = require("./loadStoryModule"),
loadStorybookModule = require("./loadStorybookModule"),

-- Rendering
render = require("./render"),
createRendererForStory = require("./createRendererForStory"),

useStory = require("./hooks/useStory"),
useStorybooks = require("./hooks/useStorybooks"),

createFusionRenderer = require("./renderers/createFusionRenderer"),
createReactRenderer = require("./renderers/createReactRenderer"),
createRoactRenderer = require("./renderers/createRoactRenderer"),
createRobloxRenderer = require("./renderers/createRobloxRenderer"),

-- Hooks
useStory = require("./hooks/useStory"),
useStorybooks = require("./hooks/useStorybooks"),
}

return api

0 comments on commit f3aa44c

Please sign in to comment.