/*! * Use the two interfaces and two objects below to register * the properties and attributes the Web Component is expected to receive. * These will be passed down as props to the React App underneath. */ /** * Update this interface to reflect the types of the properties */ export interface IComponentProperties { todos: string[]; } /** * Update this interface to reflect the attributes of the Web Component * NB: The type of an attribute must be primitive */ export interface IComponentAttributes { componentTitle: string; } /** * Update this object with the initial values of the properties */ export const componentProperties: IComponentProperties = { todos: [ 'Go to src/componentProperties.ts...', 'Register properties and attributes...', 'Build awesome React Web Component!', ], }; /** * Update this object with the initial values of the attributes */ export const componentAttributes: IComponentAttributes = { componentTitle: '%component-name-title%', };