# componentArgsFromAdapterArgs

Source: /tuil/docs/reference/packages/story/api/component-args-from-adapter-args
Locale: en

function exported by @mwillbanks/tuil-story.



{/* Generated by tooling/docs/generate-reference.ts. */}

## function [#function]

Public function exported by `@mwillbanks/tuil-story`.

```ts
export function componentArgsFromAdapterArgs(
  args: Readonly<Record<string, unknown>>,
): Readonly<Record<string, unknown>>;
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

| Member | Type                                | Required | Description                                                       | Related types |
| ------ | ----------------------------------- | -------- | ----------------------------------------------------------------- | ------------- |
| `args` | `Readonly<Record<string, unknown>>` | Yes      | Supplies the `args` value as `Readonly<Record<string, unknown>>`. | —             |

## Returns [#returns]

`Readonly<Record<string, unknown>>` — Returns a value that satisfies `Readonly<Record<string, unknown>>`.

Related types: —

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/story/src/browser.tsx)

## Package [#package]

[@mwillbanks/tuil-story](/tuil/docs/reference/packages/story)
