# Type alias StaticPropsFeatureOptions

StaticPropsFeatureOptions: {
exportName?: string;
serverModule: string;
}

options for static props feature

#### Type declaration

- ##### `Optional` exportName?: string

  If your module export the get static props method with a different name than `getStaticProps`, then specify it here.

- ##### serverModule: string

  Path pointing to the module that exports the `getStaticProps` method on the server.

  Typically this should be from something like `require.resolve("./static-props")`

  Your module will be loaded and executed on the server only and will not be bundled for the client, and it can use any node.js APIs.

- Defined in packages/xarc-react/src/common/feat-static-props-types.tsx:33